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, ------------- Commit messages: - 8250564: Remove terminally deprecated constructor in GSSUti Changes: https://git.openjdk.java.net/jdk/pull/1948/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1948&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8250564 Stats: 7 lines in 3 files changed: 0 ins; 3 del; 4 mod Patch: https://git.openjdk.java.net/jdk/pull/1948.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1948/head:pull/1948 PR: https://git.openjdk.java.net/jdk/pull/1948