JDK-6366504 : sun/nio/cs/StreamEncoderClose.java is going into Error with IllegalAccessException with all jdks
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 1.4.2_11
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-12-22
  • Updated: 2014-02-28
  • Resolved: 2006-02-21
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_12 b01Fixed
Related Reports
Relates :  
Description
Testcase 'sun/nio/cs/StreamEncoderClose.java' is going into Error with Exception thrown with all the jdks on all the platforms. This testcase is not executing at all, but compilation is successful. 

Exception thrown is as follows:
java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class StreamEncoderClose with modifiers "public static"

Comments
EVALUATION There's 2 issues with the testcase. 1. Test class was not public so JTREG harness throws the Exception java.lang.IllegalAccessException: Class com.sun.javatest.regtest.MainWrapper$MainThread can not access a member of class StreamEncoderClose with modifiers "public static" 2. Testcase is now updated with latest version of it from Mustang testsuite.
22-12-2005