-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.2_11
-
x86
-
windows_2003
Synopsis: CORBA/IDL : Util.loadClass() raised unexpected exception: java.security.AccessControlException: access denied (java.io.FilePermission is thrown on win2003EE AMD but no exception on windows 2003EE x86 machine.FOR all 142_XX jdks.
NOTE :
=====
Exception is abserved in both 32 bit and 64 bit jdks on windows 2003EE AMD.
It is abserved only on windows2003EE AMD.
java -version
=============
j2sdk1.4.2_11java version "1.4.2_11-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-ea-b01)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_11-ea-b01, mixed mode)
To Reproduce:
=============
1) Install the testing JDK in test machine
2) Map one of the windows drive to <corba-workspace>
3) Put PATH=<CORBA-WORKSPACE>/bin in the path.
4) CD to the mapped drive till <corba-workspace>/tests/api/javax/rmi/CORBA/Util/
5) export JAVA_HOME_MANTIS=<java-home>
Run the command as
rip-make -env mantis -v all 2>&1 | tee all.log
6) after run completion vi all.log file (it will run not more than 2 minutes)
FOR windows 2003EE AMD OUTPUT:
==============================
<TEST-CASE>
<TEST-CASE-ID STATUS="FAILED">LoadClass0003</TEST-CASE-ID>
<TEST-CASE-DESC>Util.loadClass() raised unexpected exception: access denied (java.io.FilePermission \\Latte\jqa-share\export\home2\masterWS\mantis-green\142_Corba\tests\api\javax\rmi\CORBA\Util\remoteCodebase read)</TEST-CASE-DESC>
</TEST-CASE>
<TEST-CASE>
<TEST-CASE-ID STATUS="FAILED">LoadClass0004</TEST-CASE-ID>
<TEST-CASE-DESC>Util.loadClass() raised unexpected exception: java.security.AccessControlException: access denied (java.io.FilePermission \\Latte\jqa-share\export\home2\masterWS\mantis-green\142_Corba\tests\api\javax\rmi\CORBA\Util\remoteCodebase read)</TEST-CASE-DESC>
</TEST-CASE>
FOR windows 2003EE x86 machine:
==============================
<TEST-CASE>
<TEST-CASE-ID STATUS="PASSED">LoadClass0003</TEST-CASE-ID>
<TEST-CASE-DESC>Loaded RemoteClassA off the specified codebase: RemoteClassA</TEST-CASE-DESC>
</TEST-CASE>
<TEST-CASE>
<TEST-CASE-ID STATUS="PASSED">LoadClass0004</TEST-CASE-ID>
<TEST-CASE-DESC>Loaded RemoteClassB using RemoteClassA: RemoteClassB</TEST-CASE-DESC>
</TEST-CASE>
WORK-SPACE LOCATION:
===================
INDIA workspace : /net/urts071.india/user1/user_dir/basavaraj/mantis_corba
username:root
password:!ncffpi!
Dublin workspace :/net/jqa-store.ireland/export/home2/masterWS/mantis-green/142_Corba
NOTE:
====
log file is attached with name 64all.log.
NOTE :
=====
Exception is abserved in both 32 bit and 64 bit jdks on windows 2003EE AMD.
It is abserved only on windows2003EE AMD.
java -version
=============
j2sdk1.4.2_11java version "1.4.2_11-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-ea-b01)
Java HotSpot(TM) 64-Bit Server VM (build 1.4.2_11-ea-b01, mixed mode)
To Reproduce:
=============
1) Install the testing JDK in test machine
2) Map one of the windows drive to <corba-workspace>
3) Put PATH=<CORBA-WORKSPACE>/bin in the path.
4) CD to the mapped drive till <corba-workspace>/tests/api/javax/rmi/CORBA/Util/
5) export JAVA_HOME_MANTIS=<java-home>
Run the command as
rip-make -env mantis -v all 2>&1 | tee all.log
6) after run completion vi all.log file (it will run not more than 2 minutes)
FOR windows 2003EE AMD OUTPUT:
==============================
<TEST-CASE>
<TEST-CASE-ID STATUS="FAILED">LoadClass0003</TEST-CASE-ID>
<TEST-CASE-DESC>Util.loadClass() raised unexpected exception: access denied (java.io.FilePermission \\Latte\jqa-share\export\home2\masterWS\mantis-green\142_Corba\tests\api\javax\rmi\CORBA\Util\remoteCodebase read)</TEST-CASE-DESC>
</TEST-CASE>
<TEST-CASE>
<TEST-CASE-ID STATUS="FAILED">LoadClass0004</TEST-CASE-ID>
<TEST-CASE-DESC>Util.loadClass() raised unexpected exception: java.security.AccessControlException: access denied (java.io.FilePermission \\Latte\jqa-share\export\home2\masterWS\mantis-green\142_Corba\tests\api\javax\rmi\CORBA\Util\remoteCodebase read)</TEST-CASE-DESC>
</TEST-CASE>
FOR windows 2003EE x86 machine:
==============================
<TEST-CASE>
<TEST-CASE-ID STATUS="PASSED">LoadClass0003</TEST-CASE-ID>
<TEST-CASE-DESC>Loaded RemoteClassA off the specified codebase: RemoteClassA</TEST-CASE-DESC>
</TEST-CASE>
<TEST-CASE>
<TEST-CASE-ID STATUS="PASSED">LoadClass0004</TEST-CASE-ID>
<TEST-CASE-DESC>Loaded RemoteClassB using RemoteClassA: RemoteClassB</TEST-CASE-DESC>
</TEST-CASE>
WORK-SPACE LOCATION:
===================
INDIA workspace : /net/urts071.india/user1/user_dir/basavaraj/mantis_corba
username:root
password:!ncffpi!
Dublin workspace :/net/jqa-store.ireland/export/home2/masterWS/mantis-green/142_Corba
NOTE:
====
log file is attached with name 64all.log.
- duplicates
-
JDK-6345452 JCK14a api/java_util HashMap serial constructor test throws IllegalArgumentException for 1.4.2_11 b1
-
- Closed
-