derbynet/sysinfo.java fails showing missing locale support due to
AccessControlExceptions if derbytools.jar is before derby.jar in the classpath
---------------------------------------------------------------------------------------------------------------------------------------------------
Key: DERBY-645
URL: http://issues.apache.org/jira/browse/DERBY-645
Project: Derby
Type: Bug
Components: Test
Versions: 10.1.2.0
Reporter: Kathey Marsden
Priority: Minor
derbynet/sysinfo.java will fail if derbytools.jar is before derby.jar in the
classpath.
Probably not a product issue but just an issue with derby_tests.policy not
giving the needed sysinfo privs for derbytools.jar. The issue occurs with
both derbynet and derbynetclient frameworks.
THE DIFF:
17,26d16
< Current Locale : [English/United States [en_US]]
< Found support for locale: [de_DE]
< Found support for locale: [es]
< Found support for locale: [fr]
< Found support for locale: [it]
< Found support for locale: [ja_JP]
< Found support for locale: [ko_KR]
< Found support for locale: [pt_BR]
< Found support for locale: [zh_CN]
< Found support for locale: [zh_TW]
45,54d34
< Current Locale : [English/United States [en_US]]
< Found support for locale: [de_DE]
< Found support for locale: [es]
< Found support for locale: [fr]
< Found support for locale: [it]
< Found support for locale: [ja_JP]
< Found support for locale: [ko_KR]
< Found support for locale: [pt_BR]
< Found support for locale: [zh_CN]
< Found support for locale: [zh_TW]
Test Failed.
*** End: sysinfo jdk1.4.2_03 DerbyNetClient 2005-10-24 20:52:14 ***
$
Note: The AccessControl exceptions show up in the sysinfo.tmp but get filtered
out of the out file.
Java home: Security Exception: java.security.AccessControlException:
access denied (java.util.PropertyPermission java.home read)
Java classpath: Security Exception: java.security.AccessControlException:
access denied (java.util.PropertyPermission java.class.path read)
Java user name: Security Exception: java.security.AccessControlException:
access denied (java.util.PropertyPermission user.name read)
Java user home: Security Exception: java.security.AccessControlException:
access denied (java.util.PropertyPermission user.home read)
Java user dir: Security Exception: java.security.AccessControlException:
access denied (java.util.PropertyPermission user.dir read)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira