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

MethodType::fromMethodDescriptorString should require security permission if loader is null

    XMLWordPrintable

    Details

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

      Description

      MethodType::fromMethodDescriptorString default to use the system class loader in resolving classes per the given descriptor string if the loader parameter is null.

      This API accesses to the system class loader on behalf of the caller should do a security permission check as ClassLoader::getSystemClassLoader.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mchung Mandy Chung
              Reporter:
              mchung Mandy Chung
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: