TEST: jdk/jshell/ToolTabSnippetTest.java TEST JDK: /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/jdk/jdk-17.0.12.jdk/Contents/Home ACTION: build -- Passed. All files up to date REASON: User specified action: run build toolbox.ToolBox toolbox.JarTask toolbox.JavacTask TIME: 0.002 seconds messages: command: build toolbox.ToolBox toolbox.JarTask toolbox.JavacTask reason: User specified action: run build toolbox.ToolBox toolbox.JarTask toolbox.JavacTask started: Fri Apr 26 12:17:55 UTC 2024 finished: Fri Apr 26 12:17:55 UTC 2024 elapsed time (seconds): 0.002 ACTION: build -- Passed. Build successful REASON: User specified action: run build Compiler UITesting TIME: 4.359 seconds messages: command: build Compiler UITesting reason: User specified action: run build Compiler UITesting started: Fri Apr 26 12:17:55 UTC 2024 Test directory: compile: Compiler, UITesting finished: Fri Apr 26 12:17:59 UTC 2024 elapsed time (seconds): 4.359 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 4.351 seconds messages: command: compile /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell/Compiler.java /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell/UITesting.java reason: .class file out of date or does not exist started: Fri Apr 26 12:17:55 UTC 2024 Additional options from @modules: --add-modules jdk.compiler,jdk.jshell --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED --add-exports jdk.jshell/jdk.internal.jshell.tool=ALL-UNNAMED Mode: agentvm Agent id: 1 finished: Fri Apr 26 12:17:59 UTC 2024 elapsed time (seconds): 4.351 configuration: Boot Layer (javac runtime environment) class path: /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/javatest.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/jtreg.jar patch: java.base /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/patches/java.base javac compilation environment add modules: jdk.compiler jdk.jshell add exports: jdk.compiler/com.sun.tools.javac.api ALL-UNNAMED jdk.compiler/com.sun.tools.javac.main ALL-UNNAMED jdk.jshell/jdk.internal.jshell.tool ALL-UNNAMED source path: /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/tools/lib class path: /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/tools/lib /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/testng-7.3.0.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/guice-5.1.0.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/jcommander-1.82.jar rerun: cd /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/scratch/1 && \ HOME=/Users/runner \ JDK8_HOME=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bootjdk/jdk \ LANG=en_US.UTF-8 \ LC_ALL=C \ LC_CTYPE=en_US.UTF-8 \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/tests \ /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/jdk/jdk-17.0.12.jdk/Contents/Home/bin/javac \ -J-Xmx768m \ -J-XX:MaxRAMPercentage=12.5 \ -J-Djava.io.tmpdir=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/tmp \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-Xmx768m -XX:MaxRAMPercentage=12.5 -Djava.io.tmpdir=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/tmp -ea -esa' \ -J-Dtest.tool.vm.opts='-J-Xmx768m -J-XX:MaxRAMPercentage=12.5 -J-Djava.io.tmpdir=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/tmp -J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts=-XX:-CreateCoredumpOnCrash \ -J-Dtest.jdk=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/jdk/jdk-17.0.12.jdk/Contents/Home \ -J-Dcompile.jdk=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/jdk/jdk-17.0.12.jdk/Contents/Home \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.root=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools \ -J-Dtest.name=jdk/jshell/ToolTabSnippetTest.java \ -J-Dtest.file=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell/ToolTabSnippetTest.java \ -J-Dtest.src=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell \ -J-Dtest.src.path=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/tools/lib \ -J-Dtest.classes=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d \ -J-Dtest.class.path=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/tools/lib \ -J-Dtest.class.path.prefix=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/tools/lib \ -J-Dtest.modules='jdk.compiler/com.sun.tools.javac.api jdk.compiler/com.sun.tools.javac.main jdk.jshell/jdk.internal.jshell.tool:+open jdk.jshell/jdk.internal.jshell.tool.resources:open jdk.jshell/jdk.jshell:open' \ --add-modules jdk.compiler,jdk.jshell \ --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \ --add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \ --add-exports jdk.jshell/jdk.internal.jshell.tool=ALL-UNNAMED \ -d /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d \ -sourcepath /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/tools/lib \ -classpath /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/tools/lib:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/testng-7.3.0.jar:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/guice-5.1.0.jar:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/jcommander-1.82.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell/Compiler.java /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell/UITesting.java direct: Note: /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell/UITesting.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. ACTION: build -- Passed. Build successful REASON: User specified action: run build ToolTabSnippetTest TIME: 3.622 seconds messages: command: build ToolTabSnippetTest reason: User specified action: run build ToolTabSnippetTest started: Fri Apr 26 12:17:59 UTC 2024 Test directory: compile: ToolTabSnippetTest finished: Fri Apr 26 12:18:03 UTC 2024 elapsed time (seconds): 3.622 ACTION: compile -- Passed. Compilation successful REASON: .class file out of date or does not exist TIME: 3.617 seconds messages: command: compile /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell/ToolTabSnippetTest.java reason: .class file out of date or does not exist started: Fri Apr 26 12:17:59 UTC 2024 Additional options from @modules: --add-modules jdk.compiler,jdk.jshell --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED --add-exports jdk.jshell/jdk.internal.jshell.tool=ALL-UNNAMED Mode: agentvm Agent id: 1 finished: Fri Apr 26 12:18:03 UTC 2024 elapsed time (seconds): 3.617 configuration: Boot Layer (javac runtime environment) class path: /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/javatest.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/jtreg.jar patch: java.base /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/patches/java.base javac compilation environment add modules: jdk.compiler jdk.jshell add exports: jdk.compiler/com.sun.tools.javac.api ALL-UNNAMED jdk.compiler/com.sun.tools.javac.main ALL-UNNAMED jdk.jshell/jdk.internal.jshell.tool ALL-UNNAMED source path: /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/tools/lib class path: /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/tools/lib /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/testng-7.3.0.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/guice-5.1.0.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/jcommander-1.82.jar rerun: cd /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/scratch/1 && \ HOME=/Users/runner \ JDK8_HOME=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bootjdk/jdk \ LANG=en_US.UTF-8 \ LC_ALL=C \ LC_CTYPE=en_US.UTF-8 \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/tests \ /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/jdk/jdk-17.0.12.jdk/Contents/Home/bin/javac \ -J-Xmx768m \ -J-XX:MaxRAMPercentage=12.5 \ -J-Djava.io.tmpdir=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/tmp \ -J-ea \ -J-esa \ -J-Dtest.vm.opts='-Xmx768m -XX:MaxRAMPercentage=12.5 -Djava.io.tmpdir=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/tmp -ea -esa' \ -J-Dtest.tool.vm.opts='-J-Xmx768m -J-XX:MaxRAMPercentage=12.5 -J-Djava.io.tmpdir=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/tmp -J-ea -J-esa' \ -J-Dtest.compiler.opts= \ -J-Dtest.java.opts=-XX:-CreateCoredumpOnCrash \ -J-Dtest.jdk=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/jdk/jdk-17.0.12.jdk/Contents/Home \ -J-Dcompile.jdk=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/jdk/jdk-17.0.12.jdk/Contents/Home \ -J-Dtest.timeout.factor=4.0 \ -J-Dtest.root=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools \ -J-Dtest.name=jdk/jshell/ToolTabSnippetTest.java \ -J-Dtest.file=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell/ToolTabSnippetTest.java \ -J-Dtest.src=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell \ -J-Dtest.src.path=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/tools/lib \ -J-Dtest.classes=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d \ -J-Dtest.class.path=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/tools/lib \ -J-Dtest.class.path.prefix=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/tools/lib \ -J-Dtest.modules='jdk.compiler/com.sun.tools.javac.api jdk.compiler/com.sun.tools.javac.main jdk.jshell/jdk.internal.jshell.tool:+open jdk.jshell/jdk.internal.jshell.tool.resources:open jdk.jshell/jdk.jshell:open' \ --add-modules jdk.compiler,jdk.jshell \ --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \ --add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \ --add-exports jdk.jshell/jdk.internal.jshell.tool=ALL-UNNAMED \ -d /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d \ -sourcepath /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/tools/lib \ -classpath /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/tools/lib:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/testng-7.3.0.jar:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/guice-5.1.0.jar:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/jcommander-1.82.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell/ToolTabSnippetTest.java ACTION: build -- Passed. All files up to date REASON: Named class compiled on demand TIME: 0.002 seconds messages: command: build ToolTabSnippetTest reason: Named class compiled on demand started: Fri Apr 26 12:18:03 UTC 2024 finished: Fri Apr 26 12:18:03 UTC 2024 elapsed time (seconds): 0.002 ACTION: testng -- Error. Error while cleaning up threads after test REASON: User specified action: run testng/timeout=300 ToolTabSnippetTest TIME: 281.768 seconds messages: command: testng ToolTabSnippetTest reason: User specified action: run testng/timeout=300 ToolTabSnippetTest started: Fri Apr 26 12:18:03 UTC 2024 Mode: agentvm Agent id: 7 Additional exports to unnamed modules from @modules: jdk.compiler/com.sun.tools.javac.api jdk.compiler/com.sun.tools.javac.main jdk.jshell/jdk.internal.jshell.tool Additional opens to unnamed modules from @modules: jdk.jshell/jdk.internal.jshell.tool jdk.jshell/jdk.internal.jshell.tool.resources jdk.jshell/jdk.jshell finished: Fri Apr 26 12:22:45 UTC 2024 elapsed time (seconds): 281.768 configuration: Boot Layer class path: /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/javatest.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/jtreg.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/junit-platform-console-standalone-1.9.2.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/testng-7.3.0.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/guice-5.1.0.jar /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/jcommander-1.82.jar patch: java.base /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/patches/java.base Test Layer add exports: jdk.compiler/com.sun.tools.javac.api ALL-UNNAMED jdk.compiler/com.sun.tools.javac.main ALL-UNNAMED jdk.jshell/jdk.internal.jshell.tool ALL-UNNAMED add opens: jdk.jshell/jdk.internal.jshell.tool ALL-UNNAMED jdk.jshell/jdk.internal.jshell.tool.resources ALL-UNNAMED jdk.jshell/jdk.jshell ALL-UNNAMED class path: /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/tools/lib /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/tools/lib rerun: cd /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/scratch/1 && \ HOME=/Users/runner \ JDK8_HOME=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bootjdk/jdk \ LANG=en_US.UTF-8 \ LC_ALL=C \ LC_CTYPE=en_US.UTF-8 \ PATH=/bin:/usr/bin:/usr/sbin \ TEST_IMAGE_DIR=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/tests \ /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/jdk/jdk-17.0.12.jdk/Contents/Home/bin/java \ -Dtest.vm.opts='-Xmx768m -XX:MaxRAMPercentage=12.5 -Djava.io.tmpdir=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/tmp -ea -esa' \ -Dtest.tool.vm.opts='-J-Xmx768m -J-XX:MaxRAMPercentage=12.5 -J-Djava.io.tmpdir=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/tmp -J-ea -J-esa' \ -Dtest.compiler.opts= \ -Dtest.java.opts=-XX:-CreateCoredumpOnCrash \ -Dtest.jdk=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/jdk/jdk-17.0.12.jdk/Contents/Home \ -Dcompile.jdk=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/bundles/jdk/jdk-17.0.12.jdk/Contents/Home \ -Dtest.timeout.factor=4.0 \ -Dtest.root=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools \ -Dtest.name=jdk/jshell/ToolTabSnippetTest.java \ -Dtest.file=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell/ToolTabSnippetTest.java \ -Dtest.src=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell \ -Dtest.src.path=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/tools/lib \ -Dtest.classes=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d \ -Dtest.class.path=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/tools/lib \ -Dtest.class.path.prefix=/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/tools/lib \ -Dtest.modules='jdk.compiler/com.sun.tools.javac.api jdk.compiler/com.sun.tools.javac.main jdk.jshell/jdk.internal.jshell.tool:+open jdk.jshell/jdk.internal.jshell.tool.resources:open jdk.jshell/jdk.jshell:open' \ -classpath /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSnippetTest.d:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/jdk/jshell:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test-prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/tools/lib:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/test/langtools/tools/lib:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/testng-7.3.0.jar:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/guice-5.1.0.jar:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/jcommander-1.82.jar:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/javatest.jar:/Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/jtreg/installed/lib/jtreg.jar \ com.sun.javatest.regtest.agent.TestNGRunner jdk/jshell/ToolTabSnippetTest.java false ToolTabSnippetTest STDOUT: | Welcome to JShell -- Version 17.0.12-internal | For an introduction type: /help intro [?2004h   AbstractMethodError Appendable ArithmeticException ArrayIndexOutOfBoundsException ArrayStoreException AssertionError AutoCloseable Boolean BootstrapMethodError Byte CharSequence Character Class ClassCastException ClassCircularityError ClassFormatError ClassLoader ClassNotFoundException ClassValue CloneNotSupportedException Cloneable Comparable Compiler Deprecated Double Enum EnumConstantNotPresentException Error Exception ExceptionInInitializerError Float FunctionalInterface IllegalAccessError IllegalAccessException IllegalArgumentException IllegalCallerException IllegalMonitorStateException IllegalStateException IllegalThreadStateException IncompatibleClassChangeError IndexOutOfBoundsException InheritableThreadLocal InstantiationError InstantiationException Integer InternalError InterruptedException Iterable LayerInstantiationException LinkageError Long Math Module ModuleLayer NegativeArraySizeException NoClassDefFoundError NoSuchFieldError NoSuchFieldException NoSuchMethodError NoSuchMethodException NullPointerException Number NumberFormatException Object OutOfMemoryError Override Package Process ProcessBuilder ProcessHandle Readable Record ReflectiveOperationException Runnable Runtime RuntimeException RuntimePermission SafeVarargs SecurityException SecurityManager Short StackOverflowError StackTraceElement StackWalker StrictMath String StringBuffer StringBuilder StringIndexOutOfBoundsException SuppressWarnings System Thread ThreadDeath ThreadGroup ThreadLocal Throwable TypeNotPresentException UnknownError UnsatisfiedLinkError UnsupportedClassVersionError UnsupportedOperationException VerifyError VirtualMachineError Void apple. boolean byte char com. double float int java. javax. jdk. junit. long netscape. org. short sun. toolbox. void test ToolTabSnippetTest.testCleaningCompletionTODO(): success   [?2004l[?2004h   [?2004l[?2004h  [?2004l[?2004h /exit| Welcome to JShell -- Version 17.0.12-internal | For an introduction type: /help intro [?2004h java.io.File.path pathSeparator pathSeparatorChar java.io.File.pathSeparator [?2004l[?2004h  [?2004l[?2004h /exit [?2004ltest ToolTabSnippetTest.testCrash8221759(): success | Welcome to JShell -- Version 17.0.12-internal | For an introduction type: /help intro [?2004h import java.time.* [?2004l[?2004h new Instant InstantiationError( InstantiationException( new InstantiationE [?2004l[?2004h  [?2004l[?2004h /exit [?2004ltest ToolTabSnippetTest.testDocumentationAfterInsert(): success | Welcome to JShell -- Version 17.0.12-internal | For an introduction type: /help intro [?2004h /env -class-path /Users/runner/work/jdk17u-dev-ysd/jdk17u-dev-ysd/build/run-test -prebuilt/test-support/jtreg_test_langtools_tier1/classes/0/jdk/jshell/ToolTabSn ippetTest.d [?2004l| Setting new options and restoring state. [?2004h import jshelltest.*; [?2004l[?2004h   AbstractMethodError Appendable ArithmeticException ArrayIndexOutOfBoundsException ArrayStoreException AssertionError AutoCloseable Boolean BootstrapMethodError Byte CharSequence Character Class ClassCastException ClassCircularityError ClassFormatError ClassLoader ClassNotFoundException ClassValue CloneNotSupportedException Cloneable Comparable Compiler Deprecated Double Enum EnumConstantNotPresentException Error Exception ExceptionInInitializerError Float FunctionalInterface IllegalAccessError IllegalAccessException IllegalArgumentException IllegalCallerException IllegalMonitorStateException IllegalStateException IllegalThreadStateException IncompatibleClassChangeError IndexOutOfBoundsException InheritableThreadLocal InstantiationError InstantiationException Integer InternalError InterruptedException Iterable JShellTest JShellTestAux LayerInstantiationException LinkageError Long Math Module ModuleLayer NegativeArraySizeException NoClassDefFoundError NoSuchFieldError NoSuchFieldException NoSuchMethodError NoSuchMethodException NullPointerException Number NumberFormatException Object OutOfMemoryError Override Package Process ProcessBuilder ProcessHandle Readable Record ReflectiveOperationException Runnable Runtime RuntimeException RuntimePermission SafeVarargs SecurityException SecurityManager Short StackOverflowError StackTraceElement StackWalker StrictMath String StringBuffer StringBuilder StringIndexOutOfBoundsException SuppressWarnings System Thread ThreadDeath ThreadGroup ThreadLocal Throwable TypeNotPresentException UnknownError UnsatisfiedLinkError UnsupportedClassVersionError UnsupportedOperationException VerifyError VirtualMachineError Void apple. boolean byte char com. double float int java. javax. jdk. junit. long netscape. org. short sun. toolbox. void new JShellTes JShellTest( JShellTestAux( new JShellTest JShellTest( JShellTestAux( Signatures: jshelltest.JShellTest new JShellTest jshelltest.JShellTest JShellTest 0 new JShellTest JShellTest( JShellTestAux( Signatures: jshelltest.JShellTest new JShellTest( Signatures: JShellTest(String str) JShellTest(String str, int i) new JShellTest( JShellTest(String str) JShellTest 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 new JShellTest( 1 1 1 1 1 1 1 1 1 1 1 1 new JShellTest( JShellTest(String str, int i) JShellTest 2 new JShellTest( AbstractMethodError Appendable ArithmeticException ArrayIndexOutOfBoundsException ArrayStoreException AssertionError AutoCloseable Boolean BootstrapMethodError Byte CharSequence Character Class ClassCastException ClassCircularityError ClassFormatError ClassLoader ClassNotFoundException ClassValue CloneNotSupportedException Cloneable Comparable Compiler Deprecated Double Enum EnumConstantNotPresentException Error Exception ExceptionInInitializerError Float FunctionalInterface IllegalAccessError IllegalAccessException IllegalArgumentException IllegalCallerException IllegalMonitorStateException IllegalStateException IllegalThreadStateException IncompatibleClassChangeError IndexOutOfBoundsException InheritableThreadLocal InstantiationError InstantiationException Integer InternalError InterruptedException Iterable JShellTest JShellTestAux LayerInstantiationException LinkageError Long Math Module ModuleLayer NegativeArraySizeException NoClassDefFoundError NoSuchFieldError NoSuchFieldException NoSuchMethodError NoSuchMethodException NullPointerException Number NumberFormatException Object OutOfMemoryError Override Package Process ProcessBuilder ProcessHandle Readable Record ReflectiveOperationException Runnable Runtime RuntimeException RuntimePermission SafeVarargs SecurityException SecurityManager Short StackOverflowError StackTraceElement StackWalker StrictMath String StringBuffer StringBuilder StringIndexOutOfBoundsException SuppressWarnings System Thread ThreadDeath ThreadGroup ThreadLocal Throwable TypeNotPresentException UnknownError UnsatisfiedLinkError UnsupportedClassVersionError UnsupportedOperationException VerifyError VirtualMachineError Void apple. boolean byte char com. double float int java. javax. jdk. junit. long netscape. org. short sun. toolbox. void new JShellTest( [?2004l[?2004h String str = ""; [?2004lstr ==> "" [?2004h new JShellTest( str Signatures: JShellTest(String str) JShellTest(String str, int i) new JShellTest( JShellTest(String str) JShellTest 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 new JShellTest( 1 1 1 1 1 1 1 1 1 1 1 1 new JShellTest( JShellTest(String str, int i) JShellTest 2 new JShellTest( AbstractMethodError Appendable ArithmeticException ArrayIndexOutOfBoundsException ArrayStoreException AssertionError AutoCloseable Boolean BootstrapMethodError Byte CharSequence Character Class ClassCastException ClassCircularityError ClassFormatError ClassLoader ClassNotFoundException ClassValue CloneNotSupportedException Cloneable Comparable Compiler Deprecated Double Enum EnumConstantNotPresentException Error Exception ExceptionInInitializerError Float FunctionalInterface IllegalAccessError IllegalAccessException IllegalArgumentException IllegalCallerException IllegalMonitorStateException IllegalStateException IllegalThreadStateException IncompatibleClassChangeError IndexOutOfBoundsException InheritableThreadLocal InstantiationError InstantiationException Integer InternalError InterruptedException Iterable JShellTest JShellTestAux LayerInstantiationException LinkageError Long Math Module ModuleLayer NegativeArraySizeException NoClassDefFoundError NoSuchFieldError NoSuchFieldException NoSuchMethodError NoSuchMethodException NullPointerException Number NumberFormatException Object OutOfMemoryError Override Package Process ProcessBuilder ProcessHandle Readable Record ReflectiveOperationException Runnable Runtime RuntimeException RuntimePermission SafeVarargs SecurityException SecurityManager Short StackOverflowError StackTraceElement StackWalker StrictMath String StringBuffer StringBuilder StringIndexOutOfBoundsException SuppressWarnings System Thread ThreadDeath ThreadGroup ThreadLocal Throwable TypeNotPresentException UnknownError UnsatisfiedLinkError UnsupportedClassVersionError UnsupportedOperationException VerifyError VirtualMachineError Void apple. boolean byte char com. double float int java. javax. jdk. junit. long netscape. org. short str sun. toolbox. void new JShellTest( [?2004l[?2004h JShellTest t = new JShellTest JShellTest( Signatures: jshelltest.JShellTest JShellTest t = new JShellTest JShellTest( JShellTestAux( JShellTest t = new JShellTest [?2004l[?2004h JShellTest t = new JShellTest( JShellTest t = new $JShell$DOESNOTMATTER() AbstractMethodError( ArithmeticException( ArrayIndexOutOfBoundsException( ArrayStoreException( AssertionError( Boolean( BootstrapMethodError( Byte( Character( ClassCastException( ClassCircularityError( ClassFormatError( ClassNotFoundException( CloneNotSupportedException( Double( EnumConstantNotPresentException( Error( Exception( ExceptionInInitializerError( Float( IllegalAccessError( IllegalAccessException( IllegalArgumentException( IllegalCallerException( IllegalMonitorStateException( IllegalStateException( IllegalThreadStateException( IncompatibleClassChangeError( IndexOutOfBoundsException( InheritableThreadLocal() InstantiationError( InstantiationException( Integer( InternalError( InterruptedException( JShellTest( JShellTestAux( LayerInstantiationException( LinkageError( Long( NegativeArraySizeException( NoClassDefFoundError( NoSuchFieldError( NoSuchFieldException( NoSuchMethodError( NoSuchMethodException( NullPointerException( Number() NumberFormatException( Object() OutOfMemoryError( Process() ProcessBuilder( ReflectiveOperationException( RuntimeException( RuntimePermission( SecurityException( SecurityManager() Short( StackOverflowError( StackTraceElement( String( StringBuffer( StringBuilder( StringIndexOutOfBoundsException( Thread( ThreadDeath() ThreadGroup( ThreadLocal() Throwable( TypeNotPresentException( UnknownError( UnsatisfiedLinkError( UnsupportedClassVersionError( UnsupportedOperationException( VerifyError( VirtualMachineError( apple. com. java. javax. jdk. junit. netscape. org. sun. toolbox. JShellTest t = new 2004l2004h class JShelX{} [?2004l| created class JShelX [?2004h new JShel JShelX() JShellTest( JShellTestAux( new JShel [?2004l[?2004h new Stringbuil new Stringbuil [?2004l[?2004h for (int: for (int: [?2004l[?2004h  [?2004l[?2004h /exit [?2004ltest ToolTabSnippetTest.testExpression(): success | Welcome to JShell -- Version 17.0.12-internal | For an introduction type: /help intro [?2004h String xyzAA; [?2004lxyzAA ==> null [?2004h String s = xyzAA. [?2004l[?2004h double xyzAB; [?2004lxyzAB ==> 0.0 [?2004h String s = xyz xyzAA String s = xyzA [?2004l[?2004h  [?2004l[?2004h /exit [?2004ltest ToolTabSnippetTest.testNoRepeat(): success =============================================== jdk/jshell/ToolTabSnippetTest.java Total tests run: 5, Passes: 5, Failures: 0, Skips: 0 =============================================== [?2004l[?2004h  [?2004l[?2004h  [?2004l[?2004h  [?2004l[?2004h STDERR: An exception has occurred in the compiler (17.0.12-internal). Please file a bug against the Java compiler via the Java bug reporting page (https://bugreport.java.com) after checking the Bug Database (https://bugs.java.com) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you. java.lang.ThreadDeath at java.base/java.lang.Thread.stop(Thread.java:949) at UITesting.doRunTest(UITesting.java:127) at ToolTabSnippetTest.testCleaningCompletionTODO(ToolTabSnippetTest.java:212) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132) at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599) at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174) at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46) at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822) at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147) at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146) at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128) at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) at org.testng.TestRunner.privateRun(TestRunner.java:764) at org.testng.TestRunner.run(TestRunner.java:585) at org.testng.SuiteRunner.runTest(SuiteRunner.java:384) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337) at org.testng.SuiteRunner.run(SuiteRunner.java:286) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218) at org.testng.TestNG.runSuitesLocally(TestNG.java:1140) at org.testng.TestNG.runSuites(TestNG.java:1069) at org.testng.TestNG.run(TestNG.java:1037) at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:102) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333) at java.base/java.lang.Thread.run(Thread.java:840) JavaTest Message: Test complete. JavaTest Message: Problem cleaning up the following threads: Thread-15 at java.base@17.0.12-internal/java.lang.Object.wait(Native Method) at app/jdk.internal.le@17.0.12-internal/jdk.internal.org.jline.utils.NonBlockingInputStreamImpl.read(NonBlockingInputStreamImpl.java:136) at app/jdk.internal.le@17.0.12-internal/jdk.internal.org.jline.utils.NonBlockingInputStream.read(NonBlockingInputStream.java:62) at app/jdk.internal.le@17.0.12-internal/jdk.internal.org.jline.utils.NonBlocking$NonBlockingInputStreamReader.read(NonBlocking.java:157) at app/jdk.internal.le@17.0.12-internal/jdk.internal.org.jline.utils.NonBlockingReader.read(NonBlockingReader.java:57) at app/jdk.internal.le@17.0.12-internal/jdk.internal.org.jline.keymap.BindingReader.readCharacter(BindingReader.java:160) at app/jdk.internal.le@17.0.12-internal/jdk.internal.org.jline.keymap.BindingReader.readBinding(BindingReader.java:110) at app/jdk.internal.le@17.0.12-internal/jdk.internal.org.jline.keymap.BindingReader.readBinding(BindingReader.java:61) at app/jdk.internal.le@17.0.12-internal/jdk.internal.org.jline.reader.impl.LineReaderImpl.doReadBinding(LineReaderImpl.java:924) at app/jdk.internal.le@17.0.12-internal/jdk.internal.org.jline.reader.impl.LineReaderImpl.readBinding(LineReaderImpl.java:957) at app/jdk.jshell@17.0.12-internal/jdk.internal.jshell.tool.ConsoleIOContext$2.readBinding(ConsoleIOContext.java:172) at app/jdk.internal.le@17.0.12-internal/jdk.internal.org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:652) at app/jdk.internal.le@17.0.12-internal/jdk.internal.org.jline.reader.impl.LineReaderImpl.readLine(LineReaderImpl.java:468) at app/jdk.jshell@17.0.12-internal/jdk.internal.jshell.tool.ConsoleIOContext.readLine(ConsoleIOContext.java:248) at app/jdk.jshell@17.0.12-internal/jdk.internal.jshell.tool.JShellTool.getInput(JShellTool.java:1275) at app/jdk.jshell@17.0.12-internal/jdk.internal.jshell.tool.JShellTool.run(JShellTool.java:1209) at app/jdk.jshell@17.0.12-internal/jdk.internal.jshell.tool.JShellTool.start(JShellTool.java:995) at app/jdk.jshell@17.0.12-internal/jdk.internal.jshell.tool.JShellToolBuilder.run(JShellToolBuilder.java:247) at UITesting.lambda$doRunTest$0(UITesting.java:96) at UITesting$$Lambda$775/0x00000007c036a280.run(Unknown Source) at java.base@17.0.12-internal/java.lang.Thread.run(Thread.java:840) ... TEST RESULT: Error. Error while cleaning up threads after test --------------------------------------------------