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

Update the outdated code comments in java.lang.System class

XMLWordPrintable

    • b20
    • Not verified

      The java.lang.System has this code comment which states:



      /* Register the natives via the static initializer.
           *
           * VM will invoke the initializeSystemClass method to complete
           * the initialization for this class separated from clinit.
           * Note that to use properties set by the VM, see the constraints
           * described in the initializeSystemClass method.
           */

      The initializeSystemClass method is no longer existent and this comment is outdated.

      As noted in the core-lib-dev discussion, this needs to be updated or removed to reflect the current state http://mail.openjdk.java.net/pipermail/core-libs-dev/2019-October/062947.html

            mchung Mandy Chung (Inactive)
            jpai Jaikiran Pai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: