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

compiler/6857159/Test6857159.java fails in -agentvm mode

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8u202
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
    • CPU:
      generic
    • OS:
      linux

      Description

      Command used: ./jtreg/bin/jtreg -verbose:summary -conc:auto -a -ignore:quiet -timeoutFactor:5 -agentvm -jdk:./jdks/jdk1.8.0_202 -dir:./openjdk8/jdk8u202-b03/hotspot/test compiler/6857159/Test6857159.java

      java version "1.8.0_202-ea"
      Java(TM) SE Runtime Environment (build 1.8.0_202-ea-b01)
      Java HotSpot(TM) 64-Bit Server VM (build 25.202-b01, mixed mode)

      stderr: [Error: Could not find or load main class Test
      ]
       exitValue = 1

      java.lang.RuntimeException: 'Test$ct0::run (16 bytes)' missing from stdout/stderr

      at com.oracle.java.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:134)
      at Test6857159.main(Test6857159.java:39)
      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:498)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.lang.Thread.run(Thread.java:748)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Test$ct0::run (16 bytes)' missing from stdout/stderr


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Test$ct0::run (16 bytes)' missing from stdout/stderr

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fmatte Fairoz Matte
                Reporter:
                akolarkunnu Abdul Kolarkunnu
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: