We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2da9981 commit 94ace03Copy full SHA for 94ace03
test/jdk/java/lang/invoke/defineHiddenClass/BasicTest.java
@@ -31,7 +31,7 @@
31
* BadClassFileVersion.jcod
32
* @build jdk.test.lib.Utils
33
* jdk.test.lib.compiler.CompilerUtils
34
- * @run testng/othervm --enable-preview BasicTest
+ * @run testng/othervm BasicTest
35
*/
36
37
import java.io.File;
@@ -77,8 +77,7 @@ public class BasicTest {
77
78
@BeforeTest
79
static void setup() throws IOException {
80
- compileSources(SRC_DIR, CLASSES_DIR,
81
- "--enable-preview", "-source", String.valueOf(Runtime.version().feature()));
+ compileSources(SRC_DIR, CLASSES_DIR);
82
hiddenClassBytes = Files.readAllBytes(CLASSES_DIR.resolve("HiddenClass.class"));
83
84
// compile with --release 10 with no NestHost and NestMembers attribute
0 commit comments