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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2
    • 9
    • 9
    • tools
    • b104
    • 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

              sadayapalam Srikanth Adayapalam (Inactive)
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: