JDK-8141118 : Test java/lang/reflect/Generics/Probe.java fails
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Affected Version: 6u111
  • Priority: P2
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2015-11-02
  • Updated: 2015-11-27
  • Resolved: 2015-11-09
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.
JDK 6
6-poolResolved
Related Reports
Duplicate :  
Description
Testsuite name: j2se_java_rest
Test name(s): java/lang/reflect/Generics/Probe.java
Product(s) tested: JDK 6 u111 b06
OS/architecture: Linux x64

Error log file : Please see the attached jtr file

Reproducible: Always

Is it a Regression: Yes (Test passes for JDK 6 u105 b15 , passes for JDK 6 u105 b31 but fails for JDK 6 u111 b01  )
Regression introduced in release/build: JDK 6 u111 b01 
Is it a platform specific issue: No ( Test fails for JDK 6 u111 b06 for solaris 11 x64  )

Exception/Error from Log:

java.lang.ClassNotFoundException: javax/crypto/SunJCE_c
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:252)
	at Probe.main(Probe.java:48)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:682)

JavaTest Message: Test threw exception: java.lang.ClassNotFoundException: javax/crypto/SunJCE_c
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.ClassNotFoundException: javax/crypto/SunJCE_c
Comments
The issue was fixed with the back-porting JDK-6873951
09-11-2015

Conceptually, this bug looks like it has the same cause as JDK-6873951; see that bug to examine how the issue was fixed in JDK 7.
03-11-2015

RULE "java/lang/reflect/Generics/Probe.java" Exception java.lang.ClassNotFoundException: javax/crypto/SunJCE_c
02-11-2015