This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: FYI: disable XML service files
Andrew Haley wrote:
> Gary Benson writes:
> > Andrew Haley wrote:
> > > We don't use Xerces so we can't be compatible with all behaviour
> > > in every possible case, but this is far more like to affect
> > > user-observable behaviour.
> >
> > We should be okay so long as we have either all service files or
> > no service files. The bug we had before was because we had all of
> > the service files except one.
>
> Out of interest, which one were we missing?
The one I added, org.w3c.dom.DOMImplementationSourceList.
> > However, making xerces work in the classpath like this will mean a
> > whole load of things that have both xml-commons-apis and xerces in
> > the classpath but not endorsed (eg most everything in Fedora) will
> > now be running xerces with libgcj's javax.xml,
>
> Which, unless I am very much mistaken, is what has always happened.
No. Prior to the service files being removed the only way to get
xerces to be used was to endorse it. Until now everything has been
using libgcj for both the interface and the implementation.
> > and ISTR libgcj has a newer javax.xml with more interface methods
> > than most versions of xerces expect.
>
> Sure, but presumably this is also true for everyone else's version
> 5 libraries, isn't it?
Presumably, but we always seemed to have build failures here. I've
been trying to build some stuff with the RH4.1 branch (which should
flush them out if they exist) but I'm struggling to get a working
setup.
Cheers,
Gary