commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] [bug #13353] jar: URLs and fragments are incorrectly assembl


From: Ziga Mahkovec
Subject: [commit-cp] [bug #13353] jar: URLs and fragments are incorrectly assembled
Date: Thu, 9 Jun 2005 19:09:04 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13353>

                 Summary: jar: URLs and fragments are incorrectly assembled
                 Project: classpath
            Submitted by: ziga
            Submitted on: Thu 06/09/2005 at 19:09
                Category: classpath
                Severity: 3 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
        Platform Version: None

    _______________________________________________________

Details:

Classpath doesn't handle fragments (#ref) to jar: URLs properly.  The
following URL:

  new URL(new URL("jar:file:/foo/bar.jar!/path"), "#ref")

is resolved by Classpath as:

  "jar:file:/foo/bar.jar!/"

while Sun's JRE resolves it as:

  "jar:file:/foo/bar.jar!/path#boat"

Similar URLs are used by Apache Batik for example.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13353>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]