Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8065109 (fs spec) Files.newBufferedWriter doesn't specify SecurityException for DELETE_ON_CLOSE option
  3. JDK-8164427

Release Note: The SecurityException throws clauses of the java.nio.file.Files methods newBufferedWriter() and write() now indicate that the exception might arise from a "delete" permission check

XMLWordPrintable

    • Verified

      The sentence
       
      "The `SecurityManager.checkDelete(String)` method is invoked to check delete access if the file is opened with the `DELETE_ON_CLOSE` option."
       
      was appended to the verbiage of the SecurityException throws clause in the specifications of the `newBufferedWriter()` and `write()` methods of java.nio.file.Files.

            bpb Brian Burkhalter
            rcalnan Roger Calnan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: