java.lang.runtime bootstrap methods missing lookup validation

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 27
    • Component/s: core-libs
    • None

      The bootstrap methods in java.lang.runtime (ObjectMethods, SwitchBootstraps) does not properly validate the lookup supplied by the users. These lookups are subsequently used to create hidden classes that create implementation, and these uses require the lookups to have full-privilege access.

      We should specify these methods require full-privilege lookups and add checks in the BSMs.

            Assignee:
            Chen Liang
            Reporter:
            Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: