Skip to content

Commit a592447

Browse files
author
Matias Saavedra Silva
committed
8369066: [lworld] UncaughtNativeExceptionTest.java fails with UnsupportedClassVersionError
Reviewed-by: dsimms, rriggs
1 parent 14a3c90 commit a592447

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/hotspot/jtreg/runtime/ErrorHandling/UncaughtNativeExceptionTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323

2424
/*
25-
* @test id
25+
* @test
2626
* @enablePreview
2727
* @requires os.family == "windows"
2828
* @library /test/lib
@@ -57,6 +57,7 @@ public void testNativeExceptionReporting() throws Exception {
5757
OutputAnalyzer output = ProcessTools.executeTestJava(
5858
// executeTestJava doesn't seem to forward 'java.library.path'
5959
"-Djava.library.path=" + System.getProperty("java.library.path"),
60+
"--enable-preview",
6061
Crasher.class.getName());
6162

6263
File hsErrFile = HsErrFileUtils.openHsErrFileFromOutput(output);

0 commit comments

Comments
 (0)