Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68867 - dev-java/rhino-1.5.5 failed
Summary: dev-java/rhino-1.5.5 failed
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-25 10:43 UTC by Cagnulein
Modified: 2005-04-03 22:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cagnulein 2004-10-25 10:43:25 UTC
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.
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2004-10-25 10:47:57 UTC
sun-jdk 1.5 is package.masked know to break things and not supported atm
Comment 2 Steffen Jobbagy-Felso 2005-04-03 22:05:15 UTC
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..