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

SA: Remove duplicate code in <OS>Address.java in SA

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      After asLongValue() added to interface Address.java, there no need to have the function in every instance Address.java:
       
      long getValue() {
          return addr;
      }

      It can be replaced by asLongValue and removed from SA.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              minqi Yumin Qi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: