ryerrabelli / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Jar URL's do not work with URLLocator #420

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Add an URLLocator for jar file contents (e.g. 
"jar:file:/Users/assets.jar!/")  to the assetManager
2. Try to load a file from the jar file via the assetManager

What is the expected output? What do you see instead?

I expect the assetManager to properly locate the file inside the jar file using 
the URL.
Instead the locating fails with the following exception:
java.io.IOException: no entry name specified
 at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:137)
 at com.jme3.asset.plugins.UrlAssetInfo.create(UrlAssetInfo.java:28)
[catch] at [...]

Original issue reported on code.google.com by normen667 on 14 Nov 2011 at 1:10

GoogleCodeExporter commented 8 years ago
Invalid report, only happens in NetBeans platform.

Original comment by normen667 on 14 Nov 2011 at 1:25