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

Avoid early use of limited privilege escalation in InnerClassLambdaMetafactory

XMLWordPrintable

    • b115
    • generic
    • generic
    • Not verified

      When loading java.lang.invoke infra, the usage of limited version of AccessControl.doPrivileged cause some additional classes (8) to be loaded. Not a big issue really, but we want to improve the startup overhead of this code.

      Use of the unlimited doPrivileged version for instances of GetPropertyAction is done prolifically inside the JDK class library, and this instance doesn't seem to really warrant special treatment.

            redestad Claes Redestad
            redestad Claes Redestad
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: