[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/29113] New: javac compiler excpetion when compiling java.
From: |
mschoebe at mail dot tuwien dot ac dot at |
Subject: |
[Bug classpath/29113] New: javac compiler excpetion when compiling java.util |
Date: |
17 Sep 2006 00:24:23 -0000 |
When trying to compile (part of) java.util (the collections) with Sun's
javac (1.5 and 1.4.2) the compiler throws an exception. To reproduce the
bug a Cygwin make under Windows is necessary. Following three lines
reproduce the bug:
cvs -d :pserver:address@hidden:/cvsroot/anonymous -z9 co -P jop
cd jop
make japp -e P1=test P2=jdk P3=DoAll
The javac output is following:
javac -d java/target/dist/classes -sourcepath
java/target/src/common\;java/targe
t/src/jdk\;java/target/src/rtapi\;java/target/src/test\;java/target/src/app\;jav
a/target/src/bench -bootclasspath "" -extdirs "" -classpath "" -source 1.4
java/
target/src/test/jdk/DoAll.java
An exception has occurred in the compiler (1.5.0_08). Please file a bug at the
J
ava Developer Connection (http://java.sun.com/webapps/bugreport) after
checking
the Bug Parade for duplicates. Include your program and the following
diagnosti
c in your report. Thank you.
java.lang.ArrayIndexOutOfBoundsException: -1
at com.sun.tools.javac.jvm.Code$State.peek(Code.java:1493)
at com.sun.tools.javac.jvm.Code.emitInvokespecial(Code.java:381)
at com.sun.tools.javac.jvm.Items$MemberItem.invoke(Items.java:482)
at com.sun.tools.javac.jvm.Gen.visitNewClass(Gen.java:1648)
at com.sun.tools.javac.tree.Tree$NewClass.accept(Tree.java:839)
at com.sun.tools.javac.jvm.Gen.genExpr(Gen.java:806)
at com.sun.tools.javac.jvm.Gen.visitThrow(Gen.java:1591)
at com.sun.tools.javac.tree.Tree$Throw.accept(Tree.java:780)
at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:653)
at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:688)
at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:674)
at com.sun.tools.javac.jvm.Gen.visitIf(Gen.java:1537)
at com.sun.tools.javac.tree.Tree$If.accept(Tree.java:715)
at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:653)
at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:688)
at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:674)
at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:725)
at com.sun.tools.javac.jvm.Gen.visitBlock(Gen.java:971)
at com.sun.tools.javac.tree.Tree$Block.accept(Tree.java:535)
at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:653)
at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:688)
at com.sun.tools.javac.jvm.Gen.genMethod(Gen.java:910)
at com.sun.tools.javac.jvm.Gen.visitMethodDef(Gen.java:846)
at com.sun.tools.javac.tree.Tree$MethodDef.accept(Tree.java:478)
at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:653)
at com.sun.tools.javac.jvm.Gen.genClass(Gen.java:2143)
at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:347)
at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:499)
at com.sun.tools.javac.main.Main.compile(Main.java:592)
at com.sun.tools.javac.main.Main.compile(Main.java:544)
at com.sun.tools.javac.Main.compile(Main.java:67)
at com.sun.tools.javac.Main.main(Main.java:52)
make: *** [java_app] Error 4
--
Summary: javac compiler excpetion when compiling java.util
Product: classpath
Version: 0.92
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mschoebe at mail dot tuwien dot ac dot at
GCC host triplet: Windows XP, Sun javac
GCC target triplet: JOP
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29113
- [Bug classpath/29113] New: javac compiler excpetion when compiling java.util,
mschoebe at mail dot tuwien dot ac dot at <=