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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 14
    • 14
    • core-libs

      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.

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

              Created:
              Updated:
              Resolved: