Details
-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b100
-
generic
-
generic
-
Verified
Description
-> class C{}
| Added class C
-> void m(C c) {}
| Added method m(C)
-> interface C {}
Exception in thread "main" java.lang.AssertionError: typeSig ERROR
at com.sun.tools.javac.code.Types$SignatureGenerator.assembleSig(Types.java:4740)
at com.sun.tools.javac.code.Types$SignatureGenerator.assembleSig(Types.java:4800)
at com.sun.tools.javac.code.Types$SignatureGenerator.assembleSig(Types.java:4700)
at jdk.jshell.TreeDissector.signature(TreeDissector.java:245)
at jdk.jshell.TreeDissector.typeOfMethod(TreeDissector.java:237)
at jdk.jshell.Unit.computeQualifiedParameterTypes(Unit.java:415)
at jdk.jshell.Unit.checkForOverwrite(Unit.java:371)
at jdk.jshell.Unit.setStatus(Unit.java:240)
at jdk.jshell.Eval.lambda$compileAndLoad$9(Eval.java:521)
at java.util.Iterator.forEachRemaining(Iterator.java:120)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:591)
at jdk.jshell.Eval.compileAndLoad(Eval.java:521)
at jdk.jshell.Eval.declare(Eval.java:461)
at jdk.jshell.Eval.processClass(Eval.java:307)
at jdk.jshell.Eval.eval(Eval.java:125)
at jdk.jshell.JShell.eval(JShell.java:350)
at jdk.internal.jshell.tool.JShellTool.processCompleteSource(JShellTool.java:1367)
at jdk.internal.jshell.tool.JShellTool.processSource(JShellTool.java:1356)
at jdk.internal.jshell.tool.JShellTool.processSourceCatchingReset(JShellTool.java:483)
at jdk.internal.jshell.tool.JShellTool.run(JShellTool.java:469)
at jdk.internal.jshell.tool.JShellTool.start(JShellTool.java:266)
at jdk.internal.jshell.tool.JShellTool.start(JShellTool.java:245)
at jdk.internal.jshell.tool.JShellTool.main(JShellTool.java:235)