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

System.setProperties(null) does not remove implementation properties

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Understanding:
      Fix Understood

      Description

      When the system properties are initialized in System.initializeSystemClass() the set of properties is trimmed to remove certain implementation properties. If the system properties are re-initialized via System.setProperties(null) then the implementation properties are not removed. Additionally, the property values set by sun.misc.Version.init() are omitted.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rriggs Roger Riggs
                Reporter:
                mduigou Michael Duigou
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: