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

Annotations with lambda expressions can still cause AnnotationFormatError

XMLWordPrintable

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

      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 = () -> {};

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

              Created:
              Updated: