Lookup::in should not allow target class be primitive or array class

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 14
    • Affects Version/s: None
    • Component/s: core-libs

      MethodHandles.privateLookupIn currently disallows the target lookup class be a primitive or array class. This is mildly inconsistent with Lookup::in where it is possible to create a lookup with a primitive or array class as the lookup class (although maybe with reduced access). This issue tracks re-examining this issue to see if privateLookupIn should be relaxed.

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

              Created:
              Updated:
              Resolved: