-
Bug
-
Resolution: Fixed
-
P3
-
6u111, 7
-
b72
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142337 | 6u115 | Ivan Gerasimov | P3 | Resolved | Fixed | b01 |
JDK-8142974 | 6u111 | Ivan Gerasimov | P3 | Resolved | Fixed | b08 |
test/java/lang/reflect/Generics/Probe.java has started to recently failed, due to changes in the JCE build. Here's a sample failure from a JPRT run:
TEST: java/lang/reflect/Generics/Probe.java
JDK under test: (/tmp/jprt/P1/T/075116.ab23780/testproduct/solaris_sparc_5.10-product)
java version "1.7.0-2009-08-20-075116.ab23780.jdk"
Java(TM) SE Runtime Environment (build 1.7.0-2009-08-20-075116.ab23780.jdk-jprtadm_2009_08_20_01_05-b00)
Java HotSpot(TM) Server VM (build 16.0-b07, mixed mode)
ACTION: compile -- Passed. Compilation successful
REASON: User specified action: run compile -source 1.5 Probe.java
TIME: 1.239 seconds
messages:
command: compile -source 1.5 /tmp/jprt/P1/T/075116.ab23780/source/test/java/lang/reflect/Generics/Probe.java
reason: User specified action: run compile -source 1.5 Probe.java
elapsed time (seconds): 1.239
STDOUT:
STDERR:
ACTION: build -- Passed. All files up to date
REASON: Named class compiled on demand
TIME: 0.0 seconds
messages:
command: build Probe
reason: Named class compiled on demand
elapsed time (seconds): 0.0
ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.ClassNotFoundException: javax/crypto/SunJCE_c
REASON: User specified action: run main Probe
TIME: 0.291 seconds
messages:
command: main Probe
reason: User specified action: run main Probe
elapsed time (seconds): 0.291
STDOUT:
:
:
CLASS javax.crypto.SunJCE_c
STDERR:
java.lang.ClassNotFoundException: javax/crypto/SunJCE_c
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at Probe.main(Probe.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:717)
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
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.ClassNotFoundException: javax/crypto/SunJCE_c
VM hotspot test
java/lang/reflect/Generics/Probe.java
also fails.
TEST: java/lang/reflect/Generics/Probe.java
JDK under test: (/tmp/jprt/P1/T/075116.ab23780/testproduct/solaris_sparc_5.10-product)
java version "1.7.0-2009-08-20-075116.ab23780.jdk"
Java(TM) SE Runtime Environment (build 1.7.0-2009-08-20-075116.ab23780.jdk-jprtadm_2009_08_20_01_05-b00)
Java HotSpot(TM) Server VM (build 16.0-b07, mixed mode)
ACTION: compile -- Passed. Compilation successful
REASON: User specified action: run compile -source 1.5 Probe.java
TIME: 1.239 seconds
messages:
command: compile -source 1.5 /tmp/jprt/P1/T/075116.ab23780/source/test/java/lang/reflect/Generics/Probe.java
reason: User specified action: run compile -source 1.5 Probe.java
elapsed time (seconds): 1.239
STDOUT:
STDERR:
ACTION: build -- Passed. All files up to date
REASON: Named class compiled on demand
TIME: 0.0 seconds
messages:
command: build Probe
reason: Named class compiled on demand
elapsed time (seconds): 0.0
ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.ClassNotFoundException: javax/crypto/SunJCE_c
REASON: User specified action: run main Probe
TIME: 0.291 seconds
messages:
command: main Probe
reason: User specified action: run main Probe
elapsed time (seconds): 0.291
STDOUT:
:
:
CLASS javax.crypto.SunJCE_c
STDERR:
java.lang.ClassNotFoundException: javax/crypto/SunJCE_c
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at Probe.main(Probe.java:86)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:623)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:717)
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
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.ClassNotFoundException: javax/crypto/SunJCE_c
VM hotspot test
java/lang/reflect/Generics/Probe.java
also fails.
- backported by
-
JDK-8142337 [TEST_BUG] test/java/lang/reflect/Generics/Probe.java fails
- Resolved
-
JDK-8142974 [TEST_BUG] test/java/lang/reflect/Generics/Probe.java fails
- Resolved
- duplicates
-
JDK-8141118 Test java/lang/reflect/Generics/Probe.java fails
- Closed
- relates to
-
JDK-6704655 Test test/java/lang/reflect/Generics/Probe.java fails under OpenJDK
- Resolved
-
JDK-5003916 (reflect) 24 classes from java package cause GenericSignatureFormatError
- Closed
-
JDK-6840752 Provide out-of-the-box support for ECC algorithms
- Resolved
(1 relates to)