RFR: 8250564: Remove terminally deprecated constructor in GSSUtil

Sean Mullan mullan at openjdk.java.net
Wed Jan 6 16:59:56 UTC 2021


On Tue, 5 Jan 2021 21:02:21 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> Back in JDK 16, two unintended default constructors were identified and deprecated for removal. The time has come to remove them.
> 
> Please also review the corresponding CSRs:
> 
> JDK-8258521 Remove terminally deprecated constructor in GSSUtil 
> https://bugs.openjdk.java.net/browse/JDK-8258521
> 
>  JDK-8258522 Remove terminally deprecated constructor in java.net.URLDecoder 
> https://bugs.openjdk.java.net/browse/JDK-8258522
> 
> Calling a static method using an instance of a class, as done in the test B6463990.java, is a coding anti-pattern that generates a lint warning; that warning in enabled in the JDK build.
> 
> Thanks,

The GSSUtil bug needs an appropriate noreg keyword, but otherwise looks fine.

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

Marked as reviewed by mullan (Reviewer).

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



More information about the security-dev mailing list