Integrated: 8266019: StreamResult(File) writes to incorrect file path if # is part of the file path

Joe Wang joehw at openjdk.java.net
Thu Jun 3 21:30:05 UTC 2021


On Wed, 2 Jun 2021 18:17:43 GMT, Joe Wang <joehw at openjdk.org> wrote:

> Special characters are different in File and URI. Treat File input as File using FileInputStream instead of converting to an URI, but fall back to URI in case of error for compatibility (in error handling).

This pull request has now been integrated.

Changeset: 460ce555
Author:    Joe Wang <joehw at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/460ce5553c587715ef8244bee7e363b3587d2d0f
Stats:     39 lines in 2 files changed: 31 ins; 1 del; 7 mod

8266019: StreamResult(File) writes to incorrect file path if # is part of the file path

Reviewed-by: dfuchs

-------------

PR: https://git.openjdk.java.net/jdk/pull/4318


More information about the core-libs-dev mailing list