This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/27294] gij throws NullPointerException, when the interpreter is not enabled
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 May 2006 18:10:31 -0000
- Subject: [Bug libgcj/27294] gij throws NullPointerException, when the interpreter is not enabled
- References: <bug-27294-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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