RFR: 8141591 : javax/management/remote/mandatory/threads/ExecutorTest.java fails intermittently
Alexander Kulyakhtin
alexander.kulyakhtin at oracle.com
Mon Nov 9 15:40:58 UTC 2015
Hi,
Could you, please, review this test-only fix:
CR: https://bugs.openjdk.java.net/browse/JDK-8141591
Webrev: http://cr.openjdk.java.net/~akulyakh/8141591_01/test/javax/management/remote/mandatory/threads/ExecutorTest.java.udiff.html
Before the fix, it was possible that we shut down the executor before all the jobs have been submitted. This resulted in RejectedExecutionException.
We are modifying the test to wait on CountDownLatch untill all the jobs have completed their execute()
Best regards,
Alexander
More information about the serviceability-dev
mailing list