Hi, I've always thought that VMs > 1.1 would make sure that java.* classes wouldn't be loaded via a classloader other that the system classloader. This is true for all JDKs I've tried on Linux (they simply ignore your custom classloader).
Erik's report seems to indicate that some VMs will use the custom classloader and then throw an exception instead of ignoring the classloader. I've asked him to try the patch first and it fixed the problem. Stefan