Skip to content

Commit 47f0084

Browse files
author
Leonid Mesnik
committedApr 13, 2023
nsk/share/MainWrapper.java fixed
1 parent d06c8c7 commit 47f0084

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎test/hotspot/jtreg/vmTestbase/nsk/share/MainWrapper.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ public static void main(String[] args) throws Throwable {
4646
Finalizer finalizer = new Finalizer(new FinalizableObject());
4747
finalizer.activate();
4848

49-
49+
// Some tests use this property to understand if virtual threads are used
50+
System.setProperty("main.wrapper", "Virtual");
5051

5152
Runnable task = () -> {
5253
try {

0 commit comments

Comments
 (0)
Please sign in to comment.