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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P3
    • 14
    • 14
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: