[Bug 179] javascript script support through rhino should not be on bootclasspath

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Sat Feb 13 06:48:36 PST 2010


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=179





------- Comment #8 from mark at klomp.org  2010-02-13 14:48 -------
(In reply to comment #7)
> Instead of just symlinking the system Rhino JAR, we need to create a copy with
> the alternate namespace of com.sun.org.mozilla.   That means rewriting the
> class files so we need to look for an appropriate solution for doing this.

It would be better to load it through a separate class loader (not the
extension class loader, which is used now because the symlink is in the ext lib
path) so you don't need to make any copies and it never is seen on the source
compiler/bootstrap path. Having the ScriptEngine added to rhino itself as
suggested in comment #2 would make that easy.

The trouble with creating a copy and rejiggering all the package names is that
you will have a separate copy that you will need to keep in sync with the
distro supplied one some way. Double the effort on security and bug fixes.


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list