File tree 2 files changed +11
-3
lines changed
2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ com/sun/jdi/EATests.java#id0 8264699 generic-
27
27
## Tests failing when main() is executed in additional vthread or in vthread instead of thread
28
28
#
29
29
30
- com/sun/jdi/DeferredStepTest.java 8285422 generic-all
31
30
com/sun/jdi/ExceptionEvents.java 8285422 generic-all
32
31
com/sun/jdi/JdbMethodExitTest.java 8285422 generic-all
33
32
com/sun/jdi/JdbStepTest.java 8285422 generic-all
Original file line number Diff line number Diff line change @@ -74,8 +74,17 @@ public static void main(String argv[]) {
74
74
75
75
jj1 obj1 = new jj1 ();
76
76
jj2 obj2 = new jj2 ();
77
- TestScaffold .newThread (obj1 , "jj1" ).start ();
78
- TestScaffold .newThread (obj2 , "jj2" ).start ();
77
+ Thread thread1 = TestScaffold .newThread (obj1 , "jj1" );
78
+ Thread thread2 = TestScaffold .newThread (obj2 , "jj2" );
79
+ thread1 .start ();
80
+ thread2 .start ();
81
+ // Threads might be deamon threads, so wait here for them to complete.
82
+ try {
83
+ thread1 .join ();
84
+ thread2 .join ();
85
+ } catch (InterruptedException ie ) {
86
+ throw new RuntimeException (ie );
87
+ }
79
88
}
80
89
}
81
90
You can’t perform that action at this time.
0 commit comments