JDK-6651311 : nsk/logging/Logger/setParent/setparent002 FAILS on 142_16/15fcs and UR but PASSES on 142_14fcs
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 1.4.2_15,1.4.2_16,1.4.2_17,1.4.2_18
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,solaris_10
  • CPU: generic,x86
  • Submitted: 2008-01-16
  • Updated: 2011-02-28
  • Resolved: 2009-03-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2_21 b01Fixed
Related Reports
Relates :  
Description
I have tested this issue on 142_16FCS and 142_15FCS and its FAILED. BUT it PASSED on 142_14FCS with the same configuartions:

I did test on windows , linux and solaris and the results was the same on all 3 platforms. (x86 - Windows XPPro - 32-bit jdk, x86 - RHEL 3.0 AS - 32-bit jdk and sun4u solaris 8).


[2008-01-13T12:48:08.18] # Actual: /export/home/abdul/JDK/j2sdk1.4.2_16/bin/java -client -Xint -esa nsk.logging.Logger.setParent.setparent002
[2008-01-13T12:48:08.18] ## Logger.setParent(...) method does NOT throw any Exception
[2008-01-13T12:48:08.38]    for anonymous Logger in untrusted mode!
[2008-01-13T12:48:08.38] ## nsk/logging/Logger/setParent/setparent002 test FAILED.
[2008-01-13T12:48:08.38] # Test level exit status: 97
[2008-01-13T12:48:08.38]
Output from running the test with 142_14fcs:

[2008-01-17T11:28:59.34] # Actual: CLASSPATH=/export/home/abdul/RE_RUN_ST_ALONE/re_run_with_142_14/root.Linux.i386/setparent002:/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_Suites/142_VM/src/classes:/export/home/abdul/JDK/j2sdk1.4.2_14/lib/tools.jar
[2008-01-17T11:28:59.34] export CLASSPATH
[2008-01-17T11:28:59.34] ${JAVA}  ${JAVA_OPTS} ${EXECUTE_CLASS} ${TEST_ARGS} 1>${test_work_dir}/${test_name}.eout
[2008-01-17T11:28:59.34] # Actual: /export/home/abdul/JDK/j2sdk1.4.2_14/bin/java -client -Xint -esa nsk.logging.Logger.setParent.setparent002
[2008-01-17T11:28:59.34] # Test level exit status: 95
[2008-01-17T11:28:59.54

The testsuite location: jqa.ireland/jqa6/dtf/dtf_ws/suites/142_Suites/142_VM
Test machine is: dairymilk.ireland
Test results can be found at: /export/home/abdul/RE_RUN_ST_ALONE on dairymilk.ireland.

jdk location is at: /export/home/abdul/JDK/j2sdk1.4.2_14 and /export/home/abdul/JDK/j2sdk1.4.2_16

Comments
EVALUATION This regression is caused by fix 4994705. need to revisit the original fix. The fix caused SecurityException not thrown in the test case.
14-02-2009