From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30084 invoked by alias); 4 May 2006 18:10:32 -0000 Received: (qmail 30061 invoked by uid 48); 4 May 2006 18:10:31 -0000 Date: Thu, 04 May 2006 18:10:00 -0000 Message-ID: <20060504181031.30060.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libgcj/27294] gij throws NullPointerException, when the interpreter is not enabled In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "tromey at gcc dot gnu dot org" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2006-q2/txt/msg00205.txt.bz2 List-Id: ------- Comment #1 from tromey at gcc dot gnu dot org 2006-05-04 18:10 ------- It isn't clear what exception we ought to throw here. What is happening is that we've found a .class file for a class we're searching for, but libgcj is not configured to properly handle class files. VirtualMachineError would be ok from a spec. point of view. But it is a bit unfriendly. This is what I'm leaning toward. ClassFormatError would also be legal but it is a bit of a lie. -- tromey at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at gcc dot gnu dot | |org Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2006-05-04 18:10:30 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27294