GCJ's URLClassloader and 'core' protocol

Sal gcj@svf.dreamhost.com
Mon Jun 28 15:32:00 GMT 2004


Mohan Embar wrote:
>>> > I've read the docs and looked into the code for URLClassloader and the 
>>> > 'core' protocol, but am still unable to figure out how to get it to work 
>>> > properly. Some help would be greatly appreciated.
>>>For loading classes you should used the "gcjlib" protocol.
>>>>I tried this protocol also... without any success. Does it work for 
>>statically linked classes? From what I could gather from the source 
>>code, it only will load resources from .so/shared objects.
>>> Out of curiosity, what platform(s) are you attempting this on?

Win with your latest compiler build. I do have a Linux box I can build 
on though if it is a platform specific issue.
I had assumed since staticly linked classes worked in windows, 
referencing them from within a custom classloader would be possible too...
- Sal


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /