Details
-
Bug
-
Resolution: Fixed
-
P2
-
9
-
b104
-
Verified
Description
tools/javac/annotations/typeAnnotations/classfile/NestedLambdasCastedTest.java
This test is newly introduced inJDK-8144168, it fails on all platforms.
----------System.err:(12/676)----------
java.lang.AssertionError: Expected type annotation on LOCAL_VARIABLE missing
at NestedLambdasCastedTest.main(NestedLambdasCastedTest.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:804)
JavaTest Message: Test threw exception: java.lang.AssertionError
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Expected type annotation on LOCAL_VARIABLE missing
This test is newly introduced in
----------System.err:(12/676)----------
java.lang.AssertionError: Expected type annotation on LOCAL_VARIABLE missing
at NestedLambdasCastedTest.main(NestedLambdasCastedTest.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:804)
JavaTest Message: Test threw exception: java.lang.AssertionError
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Expected type annotation on LOCAL_VARIABLE missing
Attachments
Issue Links
- duplicates
-
JDK-8144168 No type annotations generated for nested lambdas
- Closed