Message11456

Author stefan.richthofer
Recipients stefan.richthofer, tkohn, zyasoft
Date 2017-07-02.15:25:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499009154.38.0.774662624876.issue2599@psf.upfronthosting.co.za>
In-reply-to
Content
Worth noting that this is (partly) a follow-up issue of the solution to http://bugs.jython.org/issue2386.

if (Platform.IS_WINDOWS) {
    start++;
}
was used, because Py.getJarFileNameFromURL prepends a slash before the Windows drive letter.

Maybe we can guard the networkpath case via

if (Platform.IS_WINDOWS && !urlString.charAt(start+1) == '/') {
    start++;
}

Unless you see some flaw with this, I'd experimentally check it in.
History
Date User Action Args
2017-07-02 15:25:54stefan.richthofersetmessageid: <1499009154.38.0.774662624876.issue2599@psf.upfronthosting.co.za>
2017-07-02 15:25:54stefan.richthofersetrecipients: + stefan.richthofer, zyasoft, tkohn
2017-07-02 15:25:54stefan.richthoferlinkissue2599 messages
2017-07-02 15:25:53stefan.richthofercreate