Integrated: 8250564: Remove terminally deprecated constructor in GSSUtil

Joe Darcy darcy at openjdk.java.net
Wed Jan 6 18:09:02 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,

This pull request has now been integrated.

Changeset: 80544e4d
Author:    Joe Darcy <darcy at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/80544e4d
Stats:     7 lines in 3 files changed: 0 ins; 3 del; 4 mod

8250564: Remove terminally deprecated constructor in GSSUtil
8250565: Remove terminally deprecated constructor in java.net.URLDecoder

Reviewed-by: bpb, smarks, alanb, mullan

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

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



More information about the security-dev mailing list