mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 13:55:43 +00:00
f7417f7060
1. In that patch I forgot to remove "import org.mozilla.classfile.*" and simply catch Exception in newInvokerMaster which is not a good practice. The attached patch FunctionObject_patch fixes that and removes other unused imports. 2. In org.mozilla.classfile.DefiningClassLoader defineClass method first tries to call via ClassManager the defineClass method in a class loader that loaded DefiningClassLoader itself. But this would define new classes in that class loader so they would not be subject of the garbage collection until a classloader that loads DefiningClassLoader would go away even if a DefiningClassLoader instance is gone. The DefiningClassLoader_patch removes that and simply calls super.defineClass. The patch also change the order of class search in loadClass so the loader first looks for a class among its defined classes and only after that in parent loaders. Regards, Igor |
||
---|---|---|
.. | ||
benchmarks | ||
js2 | ||
jsd | ||
jsdj | ||
jsj | ||
macbuild | ||
ref | ||
rhino | ||
semantics | ||
src | ||
tests | ||
.cvsignore | ||
landbranch.pl | ||
Makefile.in | ||
makefile.win |