This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: resolveClass0 should throw LinkageErrors


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]