#3 Fix bug 1325571: issue loading html-files from jar

closed-accepted
nobody
None
5
2007-01-31
2005-10-20
Gadenz Alex
No

Attached a diff implementing the method
getContentType() into the URLConnection created in
com.simontuffs.onejar.Handler.openConnection(URL).
This fixes problems regarding not known content types
of resources loaded from a lib-jar. Especially javahelp
was not able to create the right viewer component
without the content type. Only the source of the html
pages was shown.

Alex

Discussion

  • Gadenz Alex

    Gadenz Alex - 2005-10-25

    Logged In: YES
    user_id=815069

    Found a better way to get the ContentType (like the JDK does).
    The diff replaces the former one.

    Alex

     
  • Gadenz Alex

    Gadenz Alex - 2005-10-25

    Fix bug 1325571

     
  • P. Simon Tuffs

    P. Simon Tuffs - 2007-01-28
    • status: open --> pending-accepted
     
  • P. Simon Tuffs

    P. Simon Tuffs - 2007-01-31
    • status: pending-accepted --> closed-accepted
     
  • P. Simon Tuffs

    P. Simon Tuffs - 2007-01-31

    Logged In: YES
    user_id=82967
    Originator: NO

    Fixed in 0.96, minor change to submitted patch which would have returned the first content type on subsequent queries. Added test-cases.

     

Log in to post a comment.