Message11900

Author stefan.richthofer
Recipients jeff.allen, stefan.richthofer
Date 2018-04-13.17:15:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523639731.04.0.682650639539.issue2410@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, sorry; in https://hg.python.org/jython/rev/850f5980a2e3 I overlooked that `some_path` can have different meaning than `/some_path`. However fixing paths like `/C:/some_path` was still important. Apart from that I did not touch getJarFileNameFromURL implementation. It stems from older work. As part of #2386 I just moved it from another module to public API. Changing it to make better use of Java API is the best solution I suppose. Also simplifies its code a lot.

E.g.
java.io.File(
URL("jar:file:/C:/some_dir/some.jar!/a/package/with/A.class")
.openConnection().getJarFileURL().toURI())).getAbsolutePath()
should do it...
History
Date User Action Args
2018-04-13 17:15:31stefan.richthofersetmessageid: <1523639731.04.0.682650639539.issue2410@psf.upfronthosting.co.za>
2018-04-13 17:15:31stefan.richthofersetrecipients: + stefan.richthofer, jeff.allen
2018-04-13 17:15:31stefan.richthoferlinkissue2410 messages
2018-04-13 17:15:30stefan.richthofercreate