-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
7u71, 8, 9
-
generic, sparc
-
linux, os_x, solaris
Test name(s):java/security/Security/ClassLoaderDeadlock/Deadlock2.sh
JDK tested: 9b32,9b31,9b30,9b29,9b25,8u20b26,8b132
OS tested:Windows,Linux, Mac
Is it a regression? No
Regression introduced in release/build: N/A
Is it platform specific? Yes
The is failure reproduced:Linux and Mac OSX (passes in Windows)
----------System.err:(19/915)----------
java.io.FileNotFoundException: testlib/Deadlock2.jar (Permission denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:101)
at sun.tools.jar.Main.run(Main.java:192)
at sun.tools.jar.Main.main(Main.java:1233)
Error: Could not find or load main class Deadlock2
rm: testlib/localedata.jar: Permission denied
rm: testlib/jfxrt.jar: Permission denied
rm: testlib/nashorn.jar: Permission denied
rm: testlib/sunec.jar: Permission denied
rm: testlib/cldrdata.jar: Permission denied
rm: testlib/sunpkcs11.jar: Permission denied
rm: testlib/sunjce_provider.jar: Permission denied
rm: testlib/meta-index: Permission denied
rm: testlib/dnsns.jar: Permission denied
rm: testlib/zipfs.jar: Permission denied
rm: testlib: Directory not empty
JDK tested: 9b32,9b31,9b30,9b29,9b25,8u20b26,8b132
OS tested:Windows,Linux, Mac
Is it a regression? No
Regression introduced in release/build: N/A
Is it platform specific? Yes
The is failure reproduced:Linux and Mac OSX (passes in Windows)
----------System.err:(19/915)----------
java.io.FileNotFoundException: testlib/Deadlock2.jar (Permission denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:101)
at sun.tools.jar.Main.run(Main.java:192)
at sun.tools.jar.Main.main(Main.java:1233)
Error: Could not find or load main class Deadlock2
rm: testlib/localedata.jar: Permission denied
rm: testlib/jfxrt.jar: Permission denied
rm: testlib/nashorn.jar: Permission denied
rm: testlib/sunec.jar: Permission denied
rm: testlib/cldrdata.jar: Permission denied
rm: testlib/sunpkcs11.jar: Permission denied
rm: testlib/sunjce_provider.jar: Permission denied
rm: testlib/meta-index: Permission denied
rm: testlib/dnsns.jar: Permission denied
rm: testlib/zipfs.jar: Permission denied
rm: testlib: Directory not empty
- duplicates
-
JDK-8062758 Update java/security/Security/ClassLoaderDeadlock/Deadlock2.sh with the removal of -Djava.ext.dirs
-
- Resolved
-