8343491: javax/management/remote/mandatory/connection/DeadLockTest.java failing with NoSuchObjectException: no such object in table

Backport-of: 4f5a241ec1
This commit is contained in:
Goetz Lindenmaier
2025-02-05 09:00:39 +00:00
committed by Sergey Shelomentsev
parent 6ccba42653
commit f30daca524

View File

@@ -27,6 +27,10 @@
* @summary test on a client notification deadlock.
* @author Shanliang JIANG
*
* @requires vm.compMode != "Xcomp"
* @comment Running with -Xcomp is likely to cause a timeout while establishing the connection
* (RMI: java.rmi.NoSuchObjectException: no such object in table).
*
* @run clean DeadLockTest
* @run build DeadLockTest
* @run main DeadLockTest
@@ -139,7 +143,7 @@ public class DeadLockTest {
try {
conn.getDefaultDomain();
} catch (IOException ioe) {
// Greate !
// OK
}
synchronized(this) {