URLClassloader and native objects
Michael Koch
konqueror@gmx.de
Sat Jun 12 06:24:00 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Samstag, 12. Juni 2004 01:02 schrieb Sal:
> Is it possible to load native objects (compiled with GCJ) via the
> URLClassloader? If not, is there another way to do this via GCJ?
>> I imagine putting native objects on another computer on the
> network, and when requested a classloader would load and send it in
> much the same way you can with class files. It seems it could work
> as with normal objects, but instead of sending VM bytecode you'de
> be sending x86 code. If its not currently possible, are there plans
> already in the works to support this?
solibs are currently only loaded locally. I don't think its a good
idea to make it possible to load them via network. This would open
some security holes because native code can't be verified the same
way then bytecode can.
We have thought about downloading normal jars and compile them locally
to native and use this then. When the remote jar changes its
re-downloaded and the game begins from the start.
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAyqH8WSOgCCdjSDsRAvDAAJ0YmxUVR2AUuR8TtScoqgOma3bbJwCgiinh
Xt9fY2/ggo7gBpjghHDUGfc=
=cFJc
-----END PGP SIGNATURE-----
More information about the Java
mailing list