On Fri, 11 Apr 2025 11:30:54 GMT, Daniel Fuchs <[email protected]> wrote:
>> src/java.base/share/classes/java/net/HttpURLConnection.java line 617:
>>
>>> 615: * {@link java.security.AllPermission}.
>>> 616: */
>>> 617: @Deprecated(since = "25")
>>
>> can this (and all other getPermission methods) be "forRemoval=true"?
>
> Possibly. @AlanBateman may have some thoughts on this.
I think we should at least consider deprecating URLConnection.getPermission and
HttpURLConnection.getPermission for removal, only because I don't immediately
see the advantage of doing it in two steps for these two APIs.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24592#discussion_r2039366899