ed [javac] public void disable() { [javac] ^ [javac] /var/tmp/portage/rhino-1.5.5/work/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:1545: warning: [deprecation] disable() in java.awt.Component has been deprecated [javac] public void disable() { [javac] ^ [javac] /var/tmp/portage/rhino-1.5.5/work/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:1553: warning: [deprecation] enable() in javax.swing.JComponent has been deprecated [javac] public void enable() { [javac] ^ [javac] /var/tmp/portage/rhino-1.5.5/work/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/debugger/Main.java:1553: warning: [deprecation] enable() in java.awt.Component has been deprecated [javac] public void enable() { [javac] ^ [javac] /var/tmp/portage/rhino-1.5.5/work/rhino1_5R5/toolsrc/org/mozilla/javascript/tools/shell/JavaPolicySecurity.java:127: reference to CodeSource is ambiguous, both method CodeSource(java.net.URL,java.security.cert.Certificate[]) in java.security.CodeSource and method CodeSource(java.net.URL,java.security.CodeSigner[]) in java.security.CodeSource match [javac] new CodeSource(null, null); [javac] ^ [javac] /var/tmp/portage/rhino-1.5.5/work/rhino1_5R5/toolsrc org/mozilla/javascript/tools/shell/JavaPolicySecurity.java:170: reference to CodeSource is ambiguous, both method CodeSource(java.net.URL,java.security.cert.Certificate[]) in java.security.CodeSource and method CodeSource(java.net.URL,java.security.CodeSigner[]) in java.security.CodeSource match [javac] CodeSource cs = new CodeSource(url, null); [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 2 errors [javac] 4 warnings BUILD FAILED /var/tmp/portage/rhino-1.5.5/work/rhino1_5R5/build.xml:51: The following error occurred while executing this line: /var/tmp/portage/rhino-1.5.5/work/rhino1_5R5/toolsrc/build.xml:69: Compile failed; see the compiler error output for details. Reproducible: Always Steps to Reproduce: 1. emerge rhino 2. 3.
sun-jdk 1.5 is package.masked know to break things and not supported atm
I think I got a workaround if you were using jikes: Add dev-java/rhino -jikes to your /etc/portage/package.use. With that it compiled fine for me, if any problems occur I'll post here again..