Outdated comment in MachineDescriptionTwosComplement.isLP64

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P5
    • 20
    • Affects Version/s: 19
    • Component/s: hotspot
    • None
    • b15

      Method {{sun.jvm.hotspot.debugger.MachineDescriptionTwosComplement#isLP64}} has outdated comment:

        // Nearly all of the supported machines are not LP64 */
        public boolean isLP64() {
          return false;
        }

      https://github.com/openjdk/jdk/blob/2c43ecb43fa3c94b69478039f1cd70ed4a577768/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionTwosComplement.java#L77

      Nowadays, it's actually inversed: almost all supported machines *are* LP64.

            Assignee:
            Daniel Skantz
            Reporter:
            Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: