-
Bug
-
Resolution: Fixed
-
P2
-
1.4.2_12, 1.4.2_13
-
b02
-
generic, x86
-
generic, solaris_10
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2159562 | 1.4.2_17 | Sean Coffey | P3 | Closed | Won't Fix |
With JDK1.4.2_12 and higher release, we are seeing some unique problem for getResourceAsStream method. The issue is if one has a resource inside a jar file has spaces in the path we cannot access that resource. As seen in the attached example I have tried two methods and both of them have failed to yield any results. I have attached source code and other required jar file for your testing.
(See attached files: TestClassLoader.class, TestClassLoader.java and test.jar)
Command to run the test
java -classpath .;test.jar TestClassLoader
This issue is not present with 1.4.2_11, 1.5.0_10 AND 1.6.0
(See attached files: TestClassLoader.class, TestClassLoader.java and test.jar)
Command to run the test
java -classpath .;test.jar TestClassLoader
This issue is not present with 1.4.2_11, 1.5.0_10 AND 1.6.0
- backported by
-
JDK-2159562 Regression: getResourceAsStream cannot access a resource inside a jar file that has spaces in path
-
- Closed
-
- duplicates
-
JDK-6553260 Issue with Installation of Weblogic Platform 81SP6 on Solaris SPARC/x86 with Sun JDK 1.4.2_13
-
- Closed
-
- relates to
-
JDK-4845728 Turning on Jar Caching causes a DownloadException and the applet jar fails load
-
- Resolved
-
-
JDK-6752070 TEST bug : sun/misc/URLClassPath/6519337/TestClassLoader.java test should be fixed
-
- Resolved
-