In MonkeyScript, Bananas (packages) can have jars with code specific for that banana. These are built separately from the program, aren't on the classpath, and are loaded dynamically.

I'd like to use NativeJavaTopPackage and a URLClassLoader to create a new object like Packages which will load it's classes from the jar.

Attempting to use `new Packages(classloader);` javascript side doesn't work. And Java side NativeJavaTopPackage's constructor is not public, and it's constructor requires that I already have an instance.

How do I create a new instance of NativeJavaTopPackage with a new classloader for my system?

--
~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://daniel.friesen.name]
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino

Reply via email to