RFR: 8359808: JavaRuntimeURLConnection should only connect to non-directory resources [v4]

Roger Riggs rriggs at openjdk.org
Tue Jun 24 16:22:33 UTC 2025


On Tue, 24 Jun 2025 16:15:57 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> @RogerRiggs The jrt protocol handler is for images builds. Any attempt, in exploded build, to connect to a jrt resource will blow up as ImageReaderFactory.getImageReader fails.
>
> Right, it would never occur. Remove as unnecessary.

The import of UncheckedIOException can be remove.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25871#discussion_r2164430321


More information about the net-dev mailing list