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

Outdated comment in MachineDescriptionTwosComplement.isLP64

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P5 P5
    • 20
    • 19
    • 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.

            dskantz Daniel Skantz
            aturbanov Andrey Turbanov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: