From owner-freebsd-java@FreeBSD.ORG Fri Jan 26 18:35:26 2007 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E163616A402 for ; Fri, 26 Jan 2007 18:35:26 +0000 (UTC) (envelope-from liontanker@hotmail.com) Received: from bay0-omc3-s33.bay0.hotmail.com (bay0-omc3-s33.bay0.hotmail.com [65.54.246.233]) by mx1.freebsd.org (Postfix) with ESMTP id CD9A913C48E for ; Fri, 26 Jan 2007 18:35:26 +0000 (UTC) (envelope-from liontanker@hotmail.com) Received: from hotmail.com ([65.54.233.97]) by bay0-omc3-s33.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Fri, 26 Jan 2007 10:23:26 -0800 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 26 Jan 2007 10:23:26 -0800 Message-ID: Received: from 128.30.86.40 by by21fd.bay21.hotmail.msn.com with HTTP; Fri, 26 Jan 2007 18:23:24 GMT X-Originating-IP: [128.30.86.40] X-Originating-Email: [liontanker@hotmail.com] X-Sender: liontanker@hotmail.com From: "Lion G." To: freebsd-java@freebsd.org Date: Fri, 26 Jan 2007 13:23:24 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 26 Jan 2007 18:23:26.0587 (UTC) FILETIME=[123734B0:01C74177] Subject: Issue with Thread.interrupt() and class loading X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jan 2007 18:35:27 -0000 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