Release Note: Lookup::in Throws IllegalArgumentException If requestedLookupClass Is a Primitive Type or an Array Class

XMLWordPrintable

      `java.lang.invoke.MethodHandles.Lookup::in` method throws `IllegalArgumentException` if the given `requestedLookupClass` is a primitive type, void, or an array class. A `Lookup` object never intends to allow a lookup class of primitive type, void, or array class. Consequently, the specification of `Lookup::in` has been fixed in Java SE 14.

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: