<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
Hello David,</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
Many, many thanks for the investigations! <span id="🚀">🚀 Much appreciated.</span></div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
<span><br>
</span></div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
<span>It would be ideal if we can have a minimized test case (self-contained test file without dependencies to other libraries, or code, no zip-attachments) that demonstrates the compiler issue succinctly and possibly fits in the email body (if possible, of
course; usually it is possible for compiler bugs).</span></div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
<span><br>
</span></div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
<span>For example, in your previous email "Found a bug?", even if you didn't include a minimized test file, pasting your code helped to reconstruct the issue, as the code was not attached.</span></div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
<span><br>
</span></div>
<div style="font-family: "Segoe UI", "Segoe UI Web (West European)", "Helvetica Neue", sans-serif; font-size: 11pt; color: rgb(0, 0, 0);" class="elementToProof">
<span>Can you give it a shot with this one and provide a minimized example in your next email?
<span id="🙏">🙏</span></span></div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> amber-dev <amber-dev-retn@openjdk.org> on behalf of David Alayachew <davidalayachew@gmail.com><br>
<b>Sent:</b> 18 July 2023 06:12<br>
<b>To:</b> amber-dev <amber-dev@openjdk.org><br>
<b>Subject:</b> Got a compiler stack trace</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="x_gmail_default" style="font-family:monospace">Hello Amber Dev Team,</div>
<div class="x_gmail_default" style="font-family:monospace"><br>
</div>
<div class="x_gmail_default" style="font-family:monospace">I received the following stack trace when trying to compile the attached project.</div>
<br>
<div class="x_gmail_default" style="font-family:monospace">david@123 MINGW64 ~/ToDoList (main)<br>
$ ls<br>
ColumnName.java Operator.java OperatorType.java ToDoList.gpj ToDoList.java<br>
</div>
<div class="x_gmail_default" style="font-family:monospace"><br>
david@123 MINGW64 ~/ToDoList (main)<br>
$ javac --version<br>
javac 21-ea<br>
<br>
david@123 MINGW64 ~/ToDoList (main)<br>
$ java --version<br>
openjdk 21-ea 2023-09-19<br>
OpenJDK Runtime Environment (build 21-ea+31-2444)<br>
OpenJDK 64-Bit Server VM (build 21-ea+31-2444, mixed mode, sharing)<br>
<br>
david@123 MINGW64 ~/ToDoList (main)<br>
$ where java<br>
C:\Program Files\Java\jdk-21\bin\java.exe<br>
</div>
<div class="x_gmail_default" style="font-family:monospace"><br>
</div>
<div class="x_gmail_default" style="font-family:monospace"><br>
david@LAPTOP-OAAP0AJG MINGW64 ~/_WORKSPACE/_PROGRAMMING/_JAVA/HelperFunctions/src/main/java/io/github/davidalayachew/ToDoList (main)<br>
$ /c/Progra~1/Java/jdk-21/bin/javac.exe ToDoList.java<br>
An exception has occurred in the compiler (21-ea). Please file a bug against the Java compiler via the Java bug reporting page (<a href="https://bugreport.java.com">https://bugreport.java.com</a>) after checking the Bug Database (<a href="https://bugs.java.com">https://bugs.java.com</a>)
for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you.<br>
java.lang.AssertionError<br>
at jdk.compiler/com.sun.tools.javac.util.Assert.error(Assert.java:155)<br>
at jdk.compiler/com.sun.tools.javac.util.Assert.check(Assert.java:46)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.access(Lower.java:1227)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitIdent(Lower.java:3499)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCIdent.accept(JCTree.java:2715)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitSelect(Lower.java:4201)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCFieldAccess.accept(JCTree.java:2581)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitApply(Lower.java:3167)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1816)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2192)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitVarDef(Lower.java:3675)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:1022)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitBlock(Lower.java:3689)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1092)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:150)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitMethodDefInternal(Lower.java:2858)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitMethodDef(Lower.java:2774)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:916)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitClassDef(Lower.java:2323)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:814)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitNewClass(Lower.java:2956)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1871)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2192)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitYield(Lower.java:4181)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCYield.accept(JCTree.java:1677)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitBlock(Lower.java:3689)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1092)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitCase(TreeTranslator.java:212)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCCase.accept(JCTree.java:1343)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translateCases(TreeTranslator.java:94)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.handleSwitch(Lower.java:3801)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitSwitchExpression(Lower.java:3733)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCSwitchExpression.accept(JCTree.java:1399)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2192)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitVarDef(Lower.java:3675)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:1022)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitBlock(Lower.java:3689)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1092)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:150)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitMethodDefInternal(Lower.java:2858)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitMethodDef(Lower.java:2774)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:916)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitClassDef(Lower.java:2323)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:814)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitNewClass(Lower.java:2956)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1871)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2192)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitVarDef(Lower.java:3675)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:1022)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitBlock(TreeTranslator.java:167)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitBlock(Lower.java:3689)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:1092)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.visitMethodDef(TreeTranslator.java:150)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitMethodDefInternal(Lower.java:2858)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitMethodDef(Lower.java:2774)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:916)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.visitClassDef(Lower.java:2323)<br>
at jdk.compiler/com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:814)<br>
at jdk.compiler/com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2181)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translate(Lower.java:2200)<br>
at jdk.compiler/com.sun.tools.javac.comp.Lower.translateTopLevelClass(Lower.java:4293)<br>
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1653)<br>
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.desugar(JavaCompiler.java:1467)<br>
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:978)<br>
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:319)<br>
at jdk.compiler/com.sun.tools.javac.main.Main.compile(Main.java:178)<br>
at jdk.compiler/com.sun.tools.javac.Main.compile(Main.java:64)<br>
at jdk.compiler/com.sun.tools.javac.Main.main(Main.java:50)<br>
</div>
<div class="x_gmail_default" style="font-family:monospace"><br>
</div>
<div class="x_gmail_default" style="font-family:monospace"><br>
<br>
<br>
</div>
<div class="x_gmail_default" style="font-family:monospace">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.</div>
<div class="x_gmail_default" style="font-family:monospace"><br>
</div>
<div class="x_gmail_default" style="font-family:monospace">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.<br>
</div>
<div class="x_gmail_default" style="font-family:monospace"><br>
</div>
<div class="x_gmail_default" style="font-family:monospace">Thank you for your time and efforts!</div>
<div class="x_gmail_default" style="font-family:monospace">David Alayachew<br>
</div>
</div>
</div>
</body>
</html>