# HG changeset patch # User alanb # Date 1389711245 0 # Node ID 10fc71a1d16686a082db7073904448f3aaa3f1c9 # Parent fea900443a4ccc5e1e55d49d17d57a0f52cadd67 7027502: Remove demo/jvmti/hprof/MonitorTest.java from exclude list with additional debug output Reviewed-by: dholmes, sla, alanb Contributed-by: tristan.yan@oracle.com diff -r fea900443a4c -r 10fc71a1d166 jdk/test/ProblemList.txt --- a/jdk/test/ProblemList.txt Tue Jan 14 06:41:10 2014 -0800 +++ b/jdk/test/ProblemList.txt Tue Jan 14 14:54:05 2014 +0000 @@ -150,12 +150,6 @@ # 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 diff -r fea900443a4c -r 10fc71a1d166 jdk/test/demo/jvmti/Context.java --- a/jdk/test/demo/jvmti/Context.java Tue Jan 14 06:41:10 2014 -0800 +++ b/jdk/test/demo/jvmti/Context.java Tue Jan 14 14:54:05 2014 +0000 @@ -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 @@ 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 ) {