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

(process spec) ProcessBuilder.start spec linked to the wrong checkRead and checkWrite methods

XMLWordPrintable

    • b57
    • Not verified

        ProcessBuilder.start spec says:
        "SecurityException - if a security manager exists and
        ...
        the standard input to the subprocess was redirected from a file and the security manager's checkRead method denies read access to the file, or
        the standard output or standard error of the subprocess was redirected to a file and the security manager's checkWrite method denies write access to the file"

        Where "checkRead" is link to the checkRead(FileDescriptor) and "checkWrite" is the link to the checkWrite(FileDescriptor) method. However, in fact the following methods is called: checkRead(String) and checkWrite(String).

        Failed JCK test is under development.

              rriggs Roger Riggs
              evotchen Elena Votchennikova (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: