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

Typo in MethodHandles.Lookup: must be either be

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 12
    • 10, 11, 12
    • core-libs

      The class-level API documentation of MethodHandles.Lookup has a typo (must be either be ...):

           * If the desired member is {@code protected}, the usual JVM rules apply,
           * including the requirement that the lookup class must be either be in the
           * same package as the desired member, or must inherit that member.

            dfuchs Daniel Fuchs
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: