Skip to content

Commit abeab58

Browse files
trancexpressiloveeclipse
authored andcommitted
Don't log stack traces for VM changes during tests
See: #782
1 parent 718c7e4 commit abeab58

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/AbstractDebugTest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3102,9 +3102,8 @@ public interface StackFrameSupplier {
31023102
}
31033103

31043104
private static void logVMChange(String message, IVMInstall vm) {
3105-
IStatus status = new Status(IStatus.INFO, JDIDebugPlugin.getUniqueIdentifier(),
3106-
message + " " + vm.getName() + ", location: " + vm.getInstallLocation(),
3107-
new RuntimeException("strack trace info"));
3105+
String detailed = message + " " + vm.getName() + ", location: " + vm.getInstallLocation();
3106+
IStatus status = new Status(IStatus.INFO, JDIDebugPlugin.getUniqueIdentifier(), detailed, null);
31083107
JDIDebugPlugin.log(status);
31093108
}
31103109

0 commit comments

Comments
 (0)