changeset 38540 | 0668586535f1 |
parent 38535 | 4a25025e0b0d |
--- a/langtools/test/jdk/jshell/LocalExecutionControl.java Mon May 23 10:12:05 2016 -0700 +++ b/langtools/test/jdk/jshell/LocalExecutionControl.java Mon May 23 13:05:04 2016 -0700 @@ -171,7 +171,8 @@ Thread[] threadList = new Thread[execThreadGroup.activeCount()]; execThreadGroup.enumerate(threadList); for (Thread thread : threadList) { - thread.join(); + if (thread != null) + thread.join(); } if (stopped.get()) {