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: Patch: RFC: re-enable duplicate class registration error


Tom Tromey writes:
 > The duplicate class registration error was optimistically disabled
 > on the trunk.  What this means in practice is that a duplicate class
 > registration results in a libgcj hang.
 > 
 > I think it is friendlier to get the error.  I propose we re-enable it
 > as appended.  Comments?
 > 
 > 
 > I regularly get duplicate registration problems whenever I fail to set
 > library_control=never.  Our current setup is pretty unfriendly if you
 > want to have multiple versions of libgcj installed at once.  Two
 > months ago would have been a good time to solve this :-(
 > 
 > Tom
 > 
 > Index: ChangeLog
 > from  Tom Tromey  <tromey@redhat.com>
 > 
 > 	* java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
 > 	Re-enable duplicate class registration error.

The previous problem was that this error was being triggered
inapropriately when the same class was loaded in multiple class loader
contexts.  We need to make sure that this inappropriate triggering no
longer occurs.

Andrew.


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