This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
SystemClassLoader and current directory
- From: Thomas Hallgren <thomas at tada dot se>
- To: java at gcc dot gnu dot org
- Date: Thu, 09 Feb 2006 15:03:19 +0100
- Subject: SystemClassLoader and current directory
Hi,
I seems the SystemClassLoader is setup to search the current directory by default. Is there
anything I can do to prevent this? I use GCJ embedded with the PostgreSQL backend and the VM
is initialized using JNI.
I provide a ClassLoader that will utilize the database and it's essential that the Java code
is prevented from using the file system.
Regards,
Thomas Hallgren