RFR 8157528: jdk/jshell/ExecutionControlTest.java failed intermittently with NPE
Jan Lahoda
jan.lahoda at oracle.com
Mon May 23 20:01:39 UTC 2016
Seems OK.
(I take this is used for tests - it would probably be more reliable to
repeat the joining until activeCount is 0, but no need to do that for
this impl.)
Jan
On 23.5.2016 21:53, Robert Field wrote:
> Bug: https://bugs.openjdk.java.net/browse/JDK-8157528
>
>
> snippetThread.start();
> Thread[] threadList = new
> Thread[execThreadGroup.activeCount()];
> execThreadGroup.enumerate(threadList);
> for (Thread thread : threadList) {
> + if (thread != null)
> thread.join();
> }
>
> if (stopped.get()) {
> debug("Killed.");
>
More information about the kulla-dev
mailing list