Skip to content

Commit 4f5a241

Browse files
committedNov 7, 2024
8343491: javax/management/remote/mandatory/connection/DeadLockTest.java failing with NoSuchObjectException: no such object in table
Reviewed-by: lmesnik, sspitsyn, cjplummer
1 parent 56c588b commit 4f5a241

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎test/jdk/javax/management/remote/mandatory/connection/DeadLockTest.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
* @summary test on a client notification deadlock.
2828
* @author Shanliang JIANG
2929
*
30+
* @requires vm.compMode != "Xcomp"
31+
* @comment Running with -Xcomp is likely to cause a timeout while establishing the connection
32+
* (RMI: java.rmi.NoSuchObjectException: no such object in table).
33+
*
3034
* @run clean DeadLockTest
3135
* @run build DeadLockTest
3236
* @run main DeadLockTest
@@ -139,7 +143,7 @@ public void handleNotification(Notification n, Object h) {
139143
try {
140144
conn.getDefaultDomain();
141145
} catch (IOException ioe) {
142-
// Greate !
146+
// OK
143147
}
144148

145149
synchronized(this) {

0 commit comments

Comments
 (0)