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: FYI: disable XML service files


>>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:

>> I think removing the service files is the best thing to do anyway.
>> Using the service files to mask some other bug is a bad approach IMO

Gary> Having the service files is the right thing to do if you want JAXP
Gary> parsers to be loaded only if they're endorsed.  Having no service
Gary> files is the right thing if you want them to be loaded regardless.

It seems to me that if we want to ensure that this code in our XML
implementation only loads things when they are endorsed, then it ought
to be using the bootstrap class loader and not the system class
loader, as it currently does.  Using the service files to work around
this seems hackish.

I'm probably really confused though.  I certainly feel confused.

Tom


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