Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jan 2007 13:23:24 -0500
From:      "Lion G." <liontanker@hotmail.com>
To:        freebsd-java@freebsd.org
Subject:   Issue with Thread.interrupt() and class loading
Message-ID:  <BAY21-F8EF213B2E0C4AAD54E69ACCA20@phx.gbl>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY21-F8EF213B2E0C4AAD54E69ACCA20>