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

Process and ProcessHandle getPid method name inconsistency

XMLWordPrintable

    • 9
    • b166
    • Verified

        The getPid methods (new in JDK 9) in ProcessHandle and Process use the old bean style names and are inconsistent with other method names added to those apis.

        The 'getPid' method should be renamed to simply 'pid' to be consistent in style.
        The change is straightforward and mechanical.

        The issue was mentioned in openjdk mail: http://mail.openjdk.java.net/pipermail/core-libs-dev/2017-April/047100.html

              rriggs Roger Riggs
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: