Skip to content

Commit 77dc937

Browse files
committed
Expand comment
1 parent 6eceb0d commit 77dc937

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

test/jdk/jdk/jfr/jvm/TestModularImage.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@
4444
* @requires vm.hasJFR
4545
* @library /test/lib
4646
* @comment Test is being run in othervm to support JEP 493 enabled
47-
* JDKs which don't allow patched modules
47+
* JDKs which don't allow patched modules. Note that jtreg patches
48+
* module java.base to add java.lang.JTRegModuleHelper. If then a
49+
* jlink run is attempted in-process - using the ToolProvider API -
50+
* on a JEP 493 enabled JDK, the test fails.
4851
* @run main/othervm jdk.jfr.jvm.TestModularImage
4952
*/
5053
public class TestModularImage {

test/jdk/tools/launcher/SourceMode.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
* @summary Test source mode
2828
* @modules jdk.compiler jdk.jlink
2929
* @comment Test is being run in othervm to support JEP 493 enabled
30-
* JDKs which don't allow patched modules
30+
* JDKs which don't allow patched modules. Note that jtreg patches
31+
* module java.base to add java.lang.JTRegModuleHelper. If then a
32+
* jlink run is attempted in-process - using the ToolProvider API -
33+
* on a JEP 493 enabled JDK, the test fails.
3134
* @run main/othervm SourceMode
3235
*/
3336

0 commit comments

Comments
 (0)