-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2
-
b20
-
x86
-
windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2067822 | 5.0 | Neal Gafter | P3 | Resolved | Fixed | tiger |
###@###.### 2003-04-07
J2SE Version (please include all output from java -version flag):
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)
Does this problem occur on J2SE 1.3 or 1.4? Yes / No (pick one)
1.4.1 = No
1.3.1 = yes
javac 1.4.1 -> : cannot reference JavaC_142 before supertype
constructor has been called
return JavaC_142.this.toString();
javac 1.3.1 -> An exception has occurred in the compiler (1.3.1).
java.lang.InternalError: assertion failed
at com.sun.tools.javac.v8.util.Util.assert(Util.java:25)
Operating System Configuration Information (be specific):
Windows XP (version 5.1 Service Pack 1 (Build 2600))
Bug Description:
Had checked with the Bug Id 4760298 Synopsis PIT: Regression: Bug id
:4432312 compiler crash. It does not seem to be the same bug.
An exception has occurred in the compiler (1.4.2-beta). Please file a
bug at the Java Developer Connection
(http://java.sun.com/cgi-bin/bugreport.cgi) after checking the Bug
Parade for duplicates. Include your program and the following diagnostic
in your report. Thank you.
java.lang.AssertionError
at com.sun.tools.javac.v8.comp.TransInner.access(TransInner.java:862)
at com.sun.tools.javac.v8.comp.TransInner.access(TransInner.java:933)
at
com.sun.tools.javac.v8.comp.TransInner.makeOuterThis(TransInner.java:1202)
at com.sun.tools.javac.v8.comp.TransInner.makeThis(TransInner.java:1184)
at
com.sun.tools.javac.v8.comp.TransInner.visitSelect(TransInner.java:1939)
at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java:1091)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.comp.TransInner.visitSelect(TransInner.java:1935)
at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java:1091)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.comp.TransInner.visitApply(TransInner.java:1839)
at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java:877)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.tree.TreeTranslator.visitReturn(TreeTranslator.java:211)
at com.sun.tools.javac.v8.tree.Tree$Return.accept(Tree.java:825)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.tree.TreeTranslator.translate(TreeTranslator.java:55)
at
com.sun.tools.javac.v8.tree.TreeTranslator.visitBlock(TreeTranslator.java:123)
at com.sun.tools.javac.v8.tree.Tree$Block.accept(Tree.java:547)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:108)
at
com.sun.tools.javac.v8.comp.TransInner.visitMethodDef(TransInner.java:1705)
at com.sun.tools.javac.v8.tree.Tree$MethodDef.accept(Tree.java:482)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.comp.TransInner.visitClassDef(TransInner.java:1635)
at com.sun.tools.javac.v8.tree.Tree$ClassDef.accept(Tree.java:443)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.comp.TransInner.visitNewClass(TransInner.java:1735)
at com.sun.tools.javac.v8.tree.Tree$NewClass.accept(Tree.java:902)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.tree.TreeTranslator.translate(TreeTranslator.java:55)
at
com.sun.tools.javac.v8.comp.TransInner.visitApply(TransInner.java:1811)
at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java:877)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.tree.TreeTranslator.visitExec(TreeTranslator.java:198)
at com.sun.tools.javac.v8.tree.Tree$Exec.accept(Tree.java:773)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.comp.TransInner.visitMethodDef(TransInner.java:1677)
at com.sun.tools.javac.v8.tree.Tree$MethodDef.accept(Tree.java:482)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.comp.TransInner.visitClassDef(TransInner.java:1635)
at com.sun.tools.javac.v8.tree.Tree$ClassDef.accept(Tree.java:443)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.comp.TransInner.visitClassDef(TransInner.java:1635)
at com.sun.tools.javac.v8.tree.Tree$ClassDef.accept(Tree.java:443)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1584)
at
com.sun.tools.javac.v8.comp.TransInner.translate(TransInner.java:1600)
at
com.sun.tools.javac.v8.comp.TransInner.translateTopLevelClass(TransInner.java:1970)
at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:376)
at com.sun.tools.javac.v8.Main.compile(Main.java:569)
at com.sun.tools.javac.Main.compile(Main.java:36)
at com.sun.tools.javac.Main.main(Main.java:27)
Steps to Reproduce (be specific):
Compile the source(JavaC_142.java)
Test Program(JavaC_142.java)
---------------------------------
public class JavaC_142 extends javax.swing.JTable
{
JavaC_142()
{
}
class TableCellEditor extends javax.swing.DefaultCellEditor
{
TableCellEditor()
{
super(new javax.swing.JTextField()
{
public String xyz()
{
return JavaC_142.this.toString();
}
});
}
}
}
- backported by
-
JDK-2067822 REGRESSION:compiler crash with java.lang.AssertionError exception failure
- Resolved