On Tue, 5 Jan 2021 21:02:21 GMT, Joe Darcy <da...@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 <da...@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