On Fri, 11 Apr 2025 10:01:26 GMT, Daniel Fuchs <[email protected]> wrote:
>> Please find her a patch that deprecate networking permission classes for
>> removal. The method `URL::getPermission` now serves little purpose and is
>> also deprecated. That method was overridden in subclasses and specified to
>> return some of the deprecated permissions.
>
> Daniel Fuchs has updated the pull request incrementally with one additional
> commit since the last revision:
>
> Missing white spaces
src/java.base/share/classes/java/security/CodeSource.java line 461:
> 459: if (this.sp == null) {
> 460: @SuppressWarnings("removal")
> 461: var _ = this.sp = new SocketPermission(thisHost,
> "resolve");
What's the reason for the `var _ =` bit ?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24592#discussion_r2039598335