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

Fix use of reflection to gain access to private fields

XMLWordPrintable

    • b142

      sun.awt.AppletSecurity::currentAppletClassLoader hacks into private fields in URLClassLoader::acc and AccessControlContext::context. This fix needs to be re-examined as it will not work with the upcoming change of the module system

      Also, (according to the comments in InetAddress.java) deploy code uses reflection to gain access to InetAddress.getByName(String,InetAddress). We should add an accessor to the existing JavaNetInetAddressAccess class returned by SharedSecrets.

            ddehaven David Dehaven (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: