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

Annotations with lambda expressions can still cause AnnotationFormatError

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P4
    • None
    • 17
    • core-libs

    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

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

              Dates

                Created:
                Updated: