This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: resolveClass0 should throw LinkageErrors
- From: Tom Tromey <tromey at redhat dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: java-patches at gcc dot gnu dot org
- Date: 12 Dec 2002 19:34:52 -0700
- Subject: Re: resolveClass0 should throw LinkageErrors
- References: <1039702453.16024.127.camel@elsschot>
- Reply-to: tromey at redhat dot com
>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
Mark> Since we are cleaning up classloading I came across
Mark> resolveClass0 that IMHO should only throw LinkageErrors. At
Mark> least it should transform any ClassNotFoundException to a
Mark> NoClassDefFoundError.
This is ok, thanks.
Converting ClassNotFoundException makes sense to me. I'm not too
concerned with converting other exceptions -- throwing InternalError
is probably fine, and may better reflect what is going on (some
internal problem). But I don't have a strong opinion either way.
Tom