RFR 8157528: jdk/jshell/ExecutionControlTest.java failed intermittently with NPE

Robert Field robert.field at oracle.com
Mon May 23 19:53:51 UTC 2016


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