/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:27: error: package jdk.test.lib does not exist
import jdk.test.lib.*;
^
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:28: error: package jdk.test.lib.dcmd does not exist
import jdk.test.lib.dcmd.*;
^
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:29: error: package jdk.test.lib.process does not exist
import jdk.test.lib.process.OutputAnalyzer;
^
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:30: error: package jdk.test.lib.process does not exist
import jdk.test.lib.process.ProcessTools;
^
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:31: error: package jdk.test.lib does not exist
import static jdk.test.lib.Asserts.*;
^
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:43: error: cannot find symbol
serverBuilder = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC",
^
symbol: variable ProcessTools
location: class TestElasticHeapErrorCode
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:51: error: cannot find symbol
OutputAnalyzer output = new OutputAnalyzer(server);
^
symbol: class OutputAnalyzer
location: class TestElasticHeapErrorCode
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:51: error: cannot find symbol
OutputAnalyzer output = new OutputAnalyzer(server);
^
symbol: class OutputAnalyzer
location: class TestElasticHeapErrorCode
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:56: error: cannot find symbol
serverBuilder = ProcessTools.createJavaProcessBuilder("-XX:+UseG1GC",
^
symbol: variable ProcessTools
location: class TestElasticHeapErrorCode
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:66: error: cannot find symbol
output = new OutputAnalyzer(server);
^
symbol: class OutputAnalyzer
location: class TestElasticHeapErrorCode
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:98: error: cannot find symbol
PidJcmdExecutor je = new PidJcmdExecutor();
^
symbol: class PidJcmdExecutor
location: class Server
/var/tmp/tone/run/jtreg/jdk-repo/jdk/test/elastic-heap/TestElasticHeapErrorCode.java:98: error: cannot find symbol
PidJcmdExecutor je = new PidJcmdExecutor();
^
symbol: class PidJcmdExecutor
location: class Server
12 errors
TEST RESULT: Failed. Compilation failed: Compilation failed
job:https://tone.aliyun-inc.com/ws/xesljfzh/test_result/276179
4个用例类似情况: elastic-heap/TestElasticHeapErrorCode.java elastic-heap/TestElasticHeapMTSetError.java elastic-heap/TestElasticHeapMXBean.java elastic-heap/TestElasticHeapMXBeanException.java jdk/jfr/jvm/TestClearStaleConstants.java