mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-17 05:45:05 +00:00
8347124: Clean tests with --enable-linkable-runtime
Reviewed-by: shade, alanb
This commit is contained in:
parent
5e92a4ceaf
commit
1f457977f0
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2022, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -43,7 +43,12 @@ import jdk.test.lib.process.ProcessTools;
|
||||
* as expected
|
||||
* @requires vm.hasJFR
|
||||
* @library /test/lib
|
||||
* @run driver jdk.jfr.jvm.TestModularImage
|
||||
* @comment Test is being run in othervm to support JEP 493 enabled
|
||||
* JDKs which don't allow patched modules. Note that jtreg patches
|
||||
* module java.base to add java.lang.JTRegModuleHelper. If then a
|
||||
* jlink run is attempted in-process - using the ToolProvider API -
|
||||
* on a JEP 493 enabled JDK, the test fails.
|
||||
* @run main/othervm jdk.jfr.jvm.TestModularImage
|
||||
*/
|
||||
public class TestModularImage {
|
||||
private static final String STARTED_RECORDING = "Started recording";
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2017, 2025, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -26,7 +26,12 @@
|
||||
* @bug 8192920 8204588 8210275 8286571
|
||||
* @summary Test source mode
|
||||
* @modules jdk.compiler jdk.jlink
|
||||
* @run main SourceMode
|
||||
* @comment Test is being run in othervm to support JEP 493 enabled
|
||||
* JDKs which don't allow patched modules. Note that jtreg patches
|
||||
* module java.base to add java.lang.JTRegModuleHelper. If then a
|
||||
* jlink run is attempted in-process - using the ToolProvider API -
|
||||
* on a JEP 493 enabled JDK, the test fails.
|
||||
* @run main/othervm SourceMode
|
||||
*/
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user