7027502: Remove demo/jvmti/hprof/MonitorTest.java from exclude list with additional debug output
Reviewed-by: dholmes, sla, alanb
This commit is contained in:
parent
ca25819893
commit
1a8acb6b57
@ -150,12 +150,6 @@ sun/management/jmxremote/bootstrap/RmiSslBootstrapTest.sh windows-all
|
||||
# 6988950
|
||||
demo/jvmti/compiledMethodLoad/CompiledMethodLoadTest.java generic-all
|
||||
|
||||
# 7027502
|
||||
demo/jvmti/hprof/MonitorTest.java generic-all
|
||||
|
||||
# 8027973
|
||||
javax/xml/jaxp/transform/jdk8004476/XSLTExFuncTest.java windows-all
|
||||
|
||||
############################################################################
|
||||
|
||||
# jdk_net
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2004, 2014, 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
|
||||
@ -167,11 +167,16 @@ public final class Context extends Thread {
|
||||
turn.notifyAll();
|
||||
}
|
||||
/* If we've had all our turns, break out of this loop */
|
||||
if ( thread_turns == turns_taken ) {
|
||||
if (thread_turns == turns_taken) {
|
||||
System.out.println("Loop end: thread got " + turns_taken
|
||||
+ " turns, expected " + thread_turns);
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (InterruptedException intEx) { /* skip */ }
|
||||
} catch (InterruptedException intEx) {
|
||||
System.out.println("Got an InterruptedException:" + intEx);
|
||||
/* skip */
|
||||
}
|
||||
|
||||
/* Make sure we got all our turns */
|
||||
if ( thread_turns != turns_taken ) {
|
||||
|
Loading…
Reference in New Issue
Block a user