# HG changeset patch # User gadams # Date 1552575533 14400 # Node ID e6a1c4e2829460a21c9c9280e33bd2aefbbdee28 # Parent 478f1483c511d077bc2f55d599968cbfd3e4fe13 8218166: com/sun/jdi/SimulResumerTest.java failure Reviewed-by: dlong, jcbeyler diff -r 478f1483c511 -r e6a1c4e28294 test/jdk/com/sun/jdi/SimulResumerTest.java --- a/test/jdk/com/sun/jdi/SimulResumerTest.java Thu Mar 14 10:50:35 2019 -0400 +++ b/test/jdk/com/sun/jdi/SimulResumerTest.java Thu Mar 14 10:58:53 2019 -0400 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2008, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -210,7 +210,9 @@ } } catch (IncompatibleThreadStateException ee) { - // ignore + // ignore checks if thread was not suspended + } catch (ObjectCollectedException ee) { + // ignore ownedMonitors failure } catch (VMDisconnectedException ee) { // This is how we stop. The debuggee runs to completion // and we get this exception. @@ -249,7 +251,7 @@ public void run() { while (true) { iters++; - System.out.println("bkpts = " + bkpts + ", iters = " + iters); + // System.out.println("bkpts = " + bkpts + ", iters = " + iters); try { Thread.sleep(waitTime); check(debuggeeThread1);