-
Bug
-
Resolution: Fixed
-
P2
-
7
-
b123
-
unknown
-
generic
-
Verified
A regression test in our hudson build is failing with the following message:
[jtreg] reason: User specified action: run compile Pos08.java
[jtreg] elapsed time (seconds): 0.054
[jtreg] direct:
[jtreg] An exception has occurred in the compiler (1.7.0-internal). 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.
[jtreg] java.lang.AssertionError: Unexpected intersection type: java.lang.Exception&Pos08.Foo
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.enterInner(ClassWriter.java:997)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.assembleClassSig(ClassWriter.java:374)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.assembleSig(ClassWriter.java:302)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.typeSig(ClassWriter.java:426)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.writeCode(ClassWriter.java:1195)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.writeMethod(ClassWriter.java:1087)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.writeMethods(ClassWriter.java:1563)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.writeClassFile(ClassWriter.java:1644)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.writeClass(ClassWriter.java:1581)
[jtreg] at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:695)
[jtreg] at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1424)
[jtreg] at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1392)
[jtreg] at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:847)
[jtreg] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:806)
[jtreg] at com.sun.tools.javac.main.Main.compile(Main.java:418)
[jtreg] at com.sun.tools.javac.main.Main.compile(Main.java:336)
[jtreg] at com.sun.tools.javac.main.Main.compile(Main.java:327)
[jtreg] at com.sun.tools.javac.Main.compile(Main.java:100)
[jtreg] at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
[jtreg] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[jtreg] at java.lang.reflect.Method.invoke(Method.java:613)
[jtreg] at com.sun.javatest.lib.JavaCompileCommand.run(JavaCompileCommand.java:243)
[jtreg] at com.sun.javatest.regtest.CompileAction.runCompile(CompileAction.java:554)
[jtreg] at com.sun.javatest.regtest.CompileAction.runSameJVM(CompileAction.java:402)
[jtreg] at com.sun.javatest.regtest.CompileAction.run(CompileAction.java:264)
[jtreg] reason: User specified action: run compile Pos08.java
[jtreg] elapsed time (seconds): 0.054
[jtreg] direct:
[jtreg] An exception has occurred in the compiler (1.7.0-internal). 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.
[jtreg] java.lang.AssertionError: Unexpected intersection type: java.lang.Exception&Pos08.Foo
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.enterInner(ClassWriter.java:997)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.assembleClassSig(ClassWriter.java:374)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.assembleSig(ClassWriter.java:302)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.typeSig(ClassWriter.java:426)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.writeCode(ClassWriter.java:1195)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.writeMethod(ClassWriter.java:1087)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.writeMethods(ClassWriter.java:1563)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.writeClassFile(ClassWriter.java:1644)
[jtreg] at com.sun.tools.javac.jvm.ClassWriter.writeClass(ClassWriter.java:1581)
[jtreg] at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:695)
[jtreg] at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1424)
[jtreg] at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1392)
[jtreg] at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:847)
[jtreg] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:806)
[jtreg] at com.sun.tools.javac.main.Main.compile(Main.java:418)
[jtreg] at com.sun.tools.javac.main.Main.compile(Main.java:336)
[jtreg] at com.sun.tools.javac.main.Main.compile(Main.java:327)
[jtreg] at com.sun.tools.javac.Main.compile(Main.java:100)
[jtreg] at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
[jtreg] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[jtreg] at java.lang.reflect.Method.invoke(Method.java:613)
[jtreg] at com.sun.javatest.lib.JavaCompileCommand.run(JavaCompileCommand.java:243)
[jtreg] at com.sun.javatest.regtest.CompileAction.runCompile(CompileAction.java:554)
[jtreg] at com.sun.javatest.regtest.CompileAction.runSameJVM(CompileAction.java:402)
[jtreg] at com.sun.javatest.regtest.CompileAction.run(CompileAction.java:264)
- relates to
-
JDK-6999635 Multicatch: crash while compiling simple code with a multicatch parameter
- Closed
-
JDK-8199910 Compiler crashes with -g option and variables of intersection type inferred by `var`
- Closed