Message11897

Author jeff.allen
Recipients jeff.allen, stefan.richthofer
Date 2018-04-12.20:50:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1523566245.1.0.682650639539.issue2410@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, is this what we want to reproduce URL -> file?

>>> u = URL("jar:file:/some_dir/some.jar!/a/package/with/A.class")
>>> c = u.openConnection()
>>> File(c.getJarFileURL().toURI())
\some_dir\some.jar

And with that pesky drive:

>>> u = URL("jar:file:/C:/some_dir/some.jar!/a/package/with/A.class")
>>> c = u.openConnection()
>>> File(c.getJarFileURL().toURI())
C:\some_dir\some.jar
History
Date User Action Args
2018-04-12 20:50:45jeff.allensetmessageid: <1523566245.1.0.682650639539.issue2410@psf.upfronthosting.co.za>
2018-04-12 20:50:45jeff.allensetrecipients: + jeff.allen, stefan.richthofer
2018-04-12 20:50:45jeff.allenlinkissue2410 messages
2018-04-12 20:50:44jeff.allencreate