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

Improve ClassLoaders static init block

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11
    • Component/s: core-libs
    • Labels:
      None

      Description

      We can improve the clarity of the static init block in
      src/java.base/share/classes/jdk/internal/loader/ClassLoaders.java
      and save a call to System.getProperty in the common case (sorry) that the user has a classpath.

        Attachments

          Activity

            People

            Assignee:
            martin Martin Buchholz
            Reporter:
            martin Martin Buchholz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: