RFR: 8294241: Deprecate URL public constructors [v2]
Daniel Fuchs
dfuchs at openjdk.org
Tue Nov 1 13:53:40 UTC 2022
On Sat, 29 Oct 2022 14:14:22 GMT, Alan Bateman <alanb at openjdk.org> wrote:
>> Daniel Fuchs has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
>>
>> - Updated after review comments. In particular var tmp => var => _unused - and avoid var in java.xml
>> - Merge branch 'master' into deprecate-url-ctor-8294241
>> - Fix whitespace issues
>> - 8294241
>
> src/java.base/share/classes/java/net/URL.java line 885:
>
>> 883:
>> 884: @SuppressWarnings("deprecation")
>> 885: var result = new URL("jrt", host, port, file, null);
>
> The URL scheme for jrt does not have a port so we should look at that some time.
Noted.
-------------
PR: https://git.openjdk.org/jdk/pull/10874
More information about the security-dev
mailing list