The commit at 
https://github.com/apache/incubator-netbeans/commit/4b82e6adb31e294c74fd2fa99779ce9e27ae6184
 , which replaced FileInputStream with NIOs Files.newInputStream, can cause 
JarClassLoader to fail with a if the current thread is interrupted at the wrong 
moment. See https://issues.apache.org/jira/browse/NETBEANS-1197.

This fix retains the use of NIO by default, but falls back to the 
un-interruptible FileInputStream in the rare case that a 
ClosedByInterruptException occurs.

[ Full content available at: 
https://github.com/apache/incubator-netbeans/pull/854 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to