This is the mail archive of the java@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: GCJ's URLClassloader and 'core' protocol


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


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