JDK 9 RFR of 8163136: Add print statements to java/nio/file/WatchService/LotsOfCancels.java

Alan Bateman Alan.Bateman at oracle.com
Thu Aug 4 04:03:39 UTC 2016


On 03/08/2016 16:42, Brian Burkhalter wrote:

> Please review this test-only patch at your convenience.
>
> Issue:	https://bugs.openjdk.java.net/browse/JDK-8163136
> Patch:	http://cr.openjdk.java.net/~bpb/8163136/webrev.00/
>
> Add some print statements to see the state of the test if it times out.
>
jtreg generates a thread dump when a test times out so you probably 
don't need most of these messages. However, printing the iteration is 
probably useful to see how many iterations have been done. It's very 
possible of course that the timeout isn't anything to do with this test, 
it could be something else on the system.

-Alan


More information about the nio-dev mailing list