Issue with Thread.interrupt() and class loading
Lion G.
liontanker at hotmail.com
Fri Jan 26 18:35:27 UTC 2007
Hi! I'm running diablo-jdk-1.5.0.06.00
If I run the following Test.java,
I get a NoClassDefFoundError
(because the class loading itself is
interrupted by the interrupt call).
public class Test {
public static void main(String[] args) {
new HappyClass();
Thread.currentThread().interrupt();
new UnhappyClass();
}
}
class HappyClass {}
class UnhappyClass {}
This was a well-known bug and was fixed in
Sun's solaris JDK and Linux JDK long ago:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4764778
Could the bug fix be included in the next patchset?
Thanks
_________________________________________________________________
Check out all that glitters with the MSN Entertainment Guide to the Academy
Awards® http://movies.msn.com/movies/oscars2007/?icid=ncoscartagline2
More information about the freebsd-java
mailing list