JDK-8213606 : compiler/6857159/Test6857159.java fails in -agentvm mode
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 8u202
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: generic
  • Submitted: 2018-11-09
  • Updated: 2018-12-17
  • Resolved: 2018-12-17
Related Reports
Duplicate :  
Relates :  
Relates :  
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

Comments
Closing as duplicate of JDK-8180904
17-12-2018

This is the same problem I've described in JDK-8213605. I think this should be fixed with a bulk fix for all tests listed in JDK-8180904.
11-12-2018

This test case introduced from 8u202 b01 only.
26-11-2018