Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8148432

tools/javac/annotations/typeAnnotations/classfile/NestedLambdasCastedTest.java fails on all platforms

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Resolved In Build:
      b104
    • Verification:
      Verified

      Description

      tools/javac/annotations/typeAnnotations/classfile/NestedLambdasCastedTest.java

      This test is newly introduced in JDK-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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sadayapalam Srikanth Adayapalam
                Reporter:
                amlu Amy Lu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: