Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237875 - dev-java/eclipse-ecj: compilation failure
Summary: dev-java/eclipse-ecj: compilation failure
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 20:48 UTC by Hanno Böck
Modified: 2008-09-16 21:03 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 Hanno Böck gentoo-dev 2008-09-16 20:48:17 UTC
I'm using java 1.7, maybe that's the reason, but anyway I thought I'd report this.

 * bootstrapping ecj with javac
MethodVerifier15.java:664: warning: unmappable character for encoding ASCII
        // JLS 3 ?8.4.5: more are accepted, with an unchecked conversion
                        ^
ProblemReporter.java:1650: warning: non-varargs call of varargs method with inexact argument type for last parameter;
cast to java.lang.Object for a varargs call
cast to java.lang.Object[] for a non-varargs call and to suppress this warning
                                new String[]{
                                             An exception has occurred in the compiler (1.7.0-ea). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report.  Thank you.
java.lang.StringIndexOutOfBoundsException: String index out of range: 17
        at java.lang.String.charAt(String.java:694)
        at com.sun.tools.javac.util.Log.printErrLine(Log.java:251)
        at com.sun.tools.javac.util.Log.writeDiagnostic(Log.java:343)
        at com.sun.tools.javac.util.Log.report(Log.java:306)
        at com.sun.tools.javac.util.AbstractLog.warning(AbstractLog.java:116)
        at com.sun.tools.javac.comp.Attr.checkMethod(Attr.java:2369)
        at com.sun.tools.javac.comp.Attr.checkId(Attr.java:2148)
        at com.sun.tools.javac.comp.Attr.visitSelect(Attr.java:1943)
        at com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:1651)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:374)
        at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:391)
        at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1291)
        at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1296)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:374)
        at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:391)
        at com.sun.tools.javac.comp.Attr.attribExprs(Attr.java:419)
        at com.sun.tools.javac.comp.Attr.visitNewArray(Attr.java:1578)
        at com.sun.tools.javac.tree.JCTree$JCNewArray.accept(JCTree.java:1386)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:374)
        at com.sun.tools.javac.comp.Attr.attribArgs(Attr.java:435)
        at com.sun.tools.javac.comp.Attr.visitApply(Attr.java:1283)
        at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1296)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:374)
        at com.sun.tools.javac.comp.Attr.attribExpr(Attr.java:398)
        at com.sun.tools.javac.comp.Attr.visitExec(Attr.java:1067)
        at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1142)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:374)
        at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:411)
        at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:427)
        at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:765)
        at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:765)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:374)
        at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:411)
        at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:685)
        at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:653)
        at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:374)
        at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:411)
        at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:2747)
        at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2673)
        at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:2609)
        at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1080)
        at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:806)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:771)
        at com.sun.tools.javac.main.Main.compile(Main.java:386)
        at com.sun.tools.javac.main.Main.compile(Main.java:312)
        at com.sun.tools.javac.main.Main.compile(Main.java:303)
        at com.sun.tools.javac.Main.compile(Main.java:82)
        at com.sun.tools.javac.Main.main(Main.java:67)
 *
 * ERROR: dev-java/eclipse-ecj-3.3.0-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3774:  Called die
 * The specific snippet of code:
 *       ${javac} $(find org/ -name '*.java') || die "${MY_PN} bootstrap failed!";
 *  The die message:
 *   ecj bootstrap failed!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-java:eclipse-ecj-3.3.0-r3:20080916-115949.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r3/temp/environment'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.7  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.7.0.0_alpha34"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2008-09-16 21:03:32 UTC
(In reply to comment #0)
>                                              An exception has occurred in the
> compiler (1.7.0-ea). Please file a bug at the Java Developer Connection
> (http://java.sun.com/webapps/bugreport)  after checking the Bug Parade for
> duplicates. Include your program and the following diagnostic in your report. 
> Thank you.

Yep.