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

(process) java/lang/ProcessBuilder/Basic.java uses "cp -p" which is inefficient

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
      6
    • Resolved In Build:
      b02
    • Verification:
      Verified

      Description

      Replace the call to /bin/cp with NIO Files.copy to improve performance and reduce system dependencies.
      The use of -p caused a problem on an earlier Solaris version.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rriggs Roger Riggs
              Reporter:
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: