Got a compiler stack trace
David Alayachew
davidalayachew at gmail.com
Tue Jul 18 04:12:49 UTC 2023
Hello Amber Dev Team,
I received the following stack trace when trying to compile the attached
project.
david at 123 MINGW64 ~/ToDoList (main)
$ ls
ColumnName.java Operator.java OperatorType.java ToDoList.gpj
ToDoList.java
david at 123 MINGW64 ~/ToDoList (main)
$ javac --version
javac 21-ea
david at 123 MINGW64 ~/ToDoList (main)
$ java --version
openjdk 21-ea 2023-09-19
OpenJDK Runtime Environment (build 21-ea+31-2444)
OpenJDK 64-Bit Server VM (build 21-ea+31-2444, mixed mode, sharing)
david at 123 MINGW64 ~/ToDoList (main)
$ where java
C:\Program Files\Java\jdk-21\bin\java.exe
david at LAPTOP-OAAP0AJG MINGW64
~/_WORKSPACE/_PROGRAMMING/_JAVA/HelperFunctions/src/main/java/io/github/davidalayachew/ToDoList
(main)
$ /c/Progra~1/Java/jdk-21/bin/javac.exe ToDoList.java
An exception has occurred in the compiler (21-ea). Please file a bug
against the Java compiler via the Java bug reporting page (
https://bugreport.java.com) after checking the Bug Database (
https://bugs.java.com) for duplicates. Include your program, the following
diagnostic, and the parameters passed to the Java compiler in your report.
Thank you.
java.lang.AssertionError
at
jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155)
at
jdk.compiler/com.sun.tools.javac.util.Assert.check(Assert.java:46)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.access(Lower.java:1227)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitIdent(Lower.java:3499)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2715)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitSelect(Lower.java:4201)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2581)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitApply(Lower.java:3167)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1816)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2192)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitVarDef(Lower.java:3675)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:1022)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitBlock(Lower.java:3689)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1092)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:150)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitMethodDefInternal(Lower.java:2858)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitMethodDef(Lower.java:2774)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:916)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitClassDef(Lower.java:2323)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:814)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitNewClass(Lower.java:2956)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1871)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2192)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitYield(Lower.java:4181)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCYield.accept(JCTree.java:1677)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitBlock(Lower.java:3689)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1092)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitCase(TreeTranslator.java:212)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1343)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translateCases(TreeTranslator.java:94)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.handleSwitch(Lower.java:3801)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitSwitchExpression(Lower.java:3733)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitchExpression.accept(JCTree.java:1399)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2192)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitVarDef(Lower.java:3675)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:1022)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitBlock(Lower.java:3689)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1092)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:150)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitMethodDefInternal(Lower.java:2858)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitMethodDef(Lower.java:2774)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:916)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitClassDef(Lower.java:2323)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:814)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitNewClass(Lower.java:2956)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1871)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2192)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitVarDef(Lower.java:3675)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:1022)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitBlock(Lower.java:3689)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1092)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:150)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitMethodDefInternal(Lower.java:2858)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitMethodDef(Lower.java:2774)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:916)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.visitClassDef(Lower.java:2323)
at
jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:814)
at
jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2200)
at
jdk.compiler/com.sun.tools.javac.comp.Lower.translateTopLevelClass(Lower.java:4293)
at
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1653)
at
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1467)
at
jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:978)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:319)
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:178)
at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)
at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:50)
Please let me know if any more information is needed. I can also post this
to the bug database like the directions say, just let me know.
Finally, I have attached another email thread that may be relevant. I don't
think it is the same bug, but adding in case it is.
Thank you for your time and efforts!
David Alayachew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20230718/f7312dbc/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ToDoList.zip
Type: application/x-zip-compressed
Size: 4180 bytes
Desc: not available
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20230718/f7312dbc/ToDoList-0001.zip>
-------------- next part --------------
An embedded message was scrubbed...
From: Angelos Bimpoudis <angelos.bimpoudis at oracle.com>
Subject: Re: Found a bug?
Date: Mon, 17 Jul 2023 09:28:17 +0000
Size: 20811
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20230718/f7312dbc/Foundabug-0001.eml>
More information about the amber-dev
mailing list