Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6873951

[TEST_BUG] test/java/lang/reflect/Generics/Probe.java fails

    XMLWordPrintable

Details

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

                darcy Joe Darcy
                alanb Alan Bateman
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: