On Mon, 21 Aug 2023 08:47:11 GMT, Andrey Turbanov <[email protected]> wrote:
> A few classes in `java.net` package have non-final fields which could easily > be marked `final`. src/java.base/share/classes/java/net/URL.java line 1592: > 1590: * A table of protocol handlers. > 1591: */ > 1592: static final Hashtable<String,URLStreamHandler> handlers = new > Hashtable<>(); Can you check if this can also be changed to be private? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/15358#discussion_r1302829784
