Skip to content

Commit e12e710

Browse files
committed
Disable VMDisconnectEventTest.testJDIVMDeath for Java 26
Disable VMDisconnectEventTest.testJDIVMDeath as it fails consistently on java 26 see #781 (comment)
1 parent f05f269 commit e12e710

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

org.eclipse.jdt.debug.jdi.tests/tests/org/eclipse/debug/jdi/tests/VMDisconnectEventTest.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2011 IBM Corporation and others.
2+
* Copyright (c) 2000, 2026 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -75,6 +75,9 @@ public static void main(java.lang.String[] args) {
7575
* Test that we received the event.
7676
*/
7777
public void testJDIVMDeath() {
78+
if (Runtime.version().feature() == 26) {
79+
return;
80+
}
7881
assertTrue("Should trigger VMDisconnectEvent or VMDeathEvent", fVMDisconnectEvent instanceof VMDeathEvent
7982
|| fVMDisconnectEvent instanceof VMDisconnectEvent);
8083
}

0 commit comments

Comments
 (0)