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

Annotations with lambda expressions can still cause AnnotationFormatError

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • P4
    • Resolution: Unresolved
    • 17
    • 21
    • core-libs
    • None

    Description

      Even after the fix for JDK-8169629, the same error can be thrown with lambda of a different type like

      Function<Integer,Integer> f = x->x;

      rather than

      Runnable r = () -> {};

      Attachments

        Issue Links

          Activity

            People

              darcy Joe Darcy
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: