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

[TESTBUG] runtime/ClassFileUnsupportedClassFileVersion.java unable to find or load main class

XMLWordPrintable

    • b04


        ClassFileUnsupportedClassFileVersion.java failure log:

        ...
        ----------messages:(3/142)----------
        command: main UnsupportedClassFileVersion
        reason: User specified action: run main UnsupportedClassFileVersion
        elapsed time (seconds): 21.416
        ----------System.out:(1/127)----------
        Command line: [/export/local/aurora/sandbox/sca/vmsqe/jdk/nightly/fastdebug/rt_baseline/linux-i586/bin/java -cp . ClassFile ]
        ----------System.err:(21/1482)----------
         stdout: [];
         stderr: [Error: Could not find or load main class
        ]
         exitValue = 1

        java.lang.RuntimeException: 'ClassFile has been compiled by a more recent version of the Java Runtime (class file version 99.0), this version of the Java Runtime only recognizes class file versions up to 52.0' missing from stdout/stderr

        at com.oracle.java.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:80)
        at UnsupportedClassFileVersion.main(UnsupportedClassFileVersion.java:43)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:744)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: 'ClassFile has been compiled by a more recent version of the Java Runtime (class file version 99.0), this version of the Java Runtime only recognizes class file versions up to 52.0' missing from stdout/stderr

        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 'ClassFile has been compiled by a more recent version of the Java Runtime (class file version 99.0), this version of the Java Runtime only recognizes class file versions up to 52.0' missing from stdout/stderr
        result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'ClassFile has been compiled by a more recent version of the Java Runtime (class file version 99.0), this version of the Java Runtime only recognizes class file versions up to 52.0' missing from stdout/stderr

        Test run details:

        Test run URL: http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=399689.JAVASE.NIGHTLY.VM.RT_Baseline.2014-02-11-60&show-limit=0&filter=
        Host: vm-x2270-02, Intel Xeon 2268 MHz, 16 cores, 16G, Linux / Ubuntu 13.04, x86_64
        Options: -server -Xcomp -XX:MaxRAMFraction=8 -XX:+CreateMinidumpOnCrash -XX:NativeMemoryTracking=detail -XX:ReservedCodeCacheSize=256M


              ctornqvi Christian Tornqvist
              lfoltan Lois Foltan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: