This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: java.endorsed.dirs plan
- From: Andrew Haley <aph at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: GCJ Hackers <java at gcc dot gnu dot org>
- Date: Fri, 11 Mar 2005 15:26:01 +0000
- Subject: Re: java.endorsed.dirs plan
- References: <m364zz9gey.fsf@localhost.localdomain>
Tom Tromey writes:
>
> 6. Handle duplicate class registration. Suppose the user replaces
> half of org.xml.sax (and uses the .db approach so these are loaded
> from a .so); in this case we will see duplicate class
> registrations. One fix would be to disable this error in the
> situation where the class is BC-compiled. I was worried about
> symbol clashes causing problems for us, but I think we are
> relatively safe here. In the future we can be more confident,
> since the plan as I understand it is to avoid public symbols
> altogether.
This is only ever going to be a problem if you forget to compile BC
libraries with -Bsymbolic.
Andrew.