Java Security FAQ: Create my own class inside

Here's an applet that tries to create its own class inside the hierarchy:

and here's the source.

Conclusion: Applets can't define classes inside a system hierarchy, such as, unless the applet is loaded from a directory on your CLASSPATH.

Back to the Java Security FAQ