Release Note: BodyPublishers.ofFile Is Changed to Throw FileNotFoundException Consistently

XMLWordPrintable

      Previously, `java.net.http.HttpRequest.BodyPublishers::ofFile(Path)` could throw `java.nio.file.NoSuchFileException` when the provided `Path` was not associated with the default file system. This inconsistency has been removed by mapping these to `java.io.FileNotFoundException`, in line with the `ofFile` API specification.

            Assignee:
            Unassigned
            Reporter:
            Volkan Yazici
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: