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

Cleanups in UnixFileSystem/WinNTFileSystem implementation classes

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b14
    • Verification:
      Not verified

      Description

      There's room for a few minor cleanups in the UnixFileSystem/WinNTFileSystem implementation classes. In detail:

      src/java.base/unix/classes/java/io/UnixFileSystem.java:
      add missing @Override annotations

      src/java.base/windows/classes/java/io/WinNTFileSystem.java:
      remove an unnecessary local variable in public String resolve(File f)
      add missing @Override annotations

      src/java.base/unix/native/libjava/UnixFileSystem_md.c:
      the fallback message for JNU_ThrowIOExceptionWithLastError in Java_java_io_UnixFileSystem_createFileExclusively should be aligned with the implementation in src/java.base/windows/native/libjava/WinNTFileSystem_md.c and should not yield the file path

        Attachments

          Activity

            People

            Assignee:
            clanger Christoph Langer
            Reporter:
            clanger Christoph Langer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: