mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 05:45:37 +00:00
d90d743307
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. |
||
---|---|---|
.. | ||
org/mozilla/javascript/tools | ||
build.xml |