gecko-dev/js/rhino/toolsrc
igor%mir2.org d90d743307 Fixing design flaw in SecurityController:
The new SecurityController in its current form does not allow to define more then one generated class class in the same class loader effectively preventing to use optimizer which needs to define classes that refer each other and should be defined in the same loader.

To fix this I replaced the defineClass method in SecurityController by
    public GeneratedClassLoader createClassLoader(Object securityDomain);
which returns instance of the new GeneratedClassLoader interface which can be used to define several classes. I also made DefiningClassLoader to implement this interface to simplify code in JavaAdapter.java and optimizer/Codegen.java.
2002-12-28 05:37:43 +00:00
..
org/mozilla/javascript/tools Fixing design flaw in SecurityController: 2002-12-28 05:37:43 +00:00
build.xml cosmetics: end-of-line whitespace removal 2002-02-11 01:33:23 +00:00