JDK-4420891 : Regression test case bug4348803 of JWS 1.0 failed on Ladybird-beta (b16)
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 1.3.1
  • Priority: P1
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2001-03-02
  • Updated: 2001-03-08
  • Resolved: 2001-03-06
Related Reports
Duplicate :  
Relates :  
Description
The regression test case bug4348803:
http://comanche.eng.sun.com/jawstest/regression/

failed on JWS 1.0 when using Ladybird beta as the required JRE product.

The exception is:
java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
	at java.security.AccessControlContext.checkPermission(Unknown Source)
	at java.security.AccessController.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
	at java.lang.System.getProperty(Unknown Source)
	at B4348803.extTest$1.run(extTest.java:27)
	at java.security.AccessController.doPrivileged(Native Method)
	at B4348803.extTest.run(extTest.java:23)
	at BUG4348803.run(BUG4348803.java:26)
	at BUG4348803.main(BUG4348803.java:21)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.sun.javaws.Launcher.executeApplication(Launcher.java:701)
	at com.sun.javaws.Launcher.executeMainClass(Launcher.java:663)
	at com.sun.javaws.Launcher.continueLaunch(Launcher.java:546)
	at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:334)
	at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:151)
	at com.sun.javaws.Launcher.<init>(Launcher.java:113)
	at com.sun.javaws.Main.main(Main.java:153)


yu.wang@eng 2001-03-01


Comments
EVALUATION charlie.lai@Eng 2001-03-05 this seems like a duplicate of 4416056, except that it manifests itself in a slightly different manner. in 4416056 javaws itself has a codebase with a space in it, so the test fails. with this bug, the standard extension (that goes in the lib/ext directory) has a codebase with a space in it. the workaround is to not install the JRE in a path with a space in it.
11-06-2004