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: don't call getSystemClassLoader()


>>>>> "Bryce" == Bryce McKinlay <mckinlay@redhat.com> writes:

Bryce> Good idea. Note that there's already a
Bryce> "getSystemClassLoaderInternal()" in Class.h. We should probably try to
Bryce> standardize on one or the other (the field or the inlined accessor
Bryce> method).

Hmm, I only see this in VMClassLoader, and it isn't inlined.
I think that method is used in one particular place because it
initializes the system class loader as a side effect.  These other
places don't want to do that.  It is confusing though.

Tom


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