File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2022, Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2022, 2025, Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
43
43
* as expected
44
44
* @requires vm.hasJFR
45
45
* @library /test/lib
46
- * @run driver jdk.jfr.jvm.TestModularImage
46
+ * @comment Test is being run in othervm to support JEP 493 enabled
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.
51
+ * @run main/othervm jdk.jfr.jvm.TestModularImage
47
52
*/
48
53
public class TestModularImage {
49
54
private static final String STARTED_RECORDING = "Started recording" ;
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2017, 2021 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2017, 2025 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
26
26
* @bug 8192920 8204588 8210275 8286571
27
27
* @summary Test source mode
28
28
* @modules jdk.compiler jdk.jlink
29
- * @run main SourceMode
29
+ * @comment Test is being run in othervm to support JEP 493 enabled
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.
34
+ * @run main/othervm SourceMode
30
35
*/
31
36
32
37
You can’t perform that action at this time.
0 commit comments