JDK 16 RFR of JDK-8250244: Address reliance on default constructors in java.net

Alan Bateman Alan.Bateman at oracle.com
Fri Jul 24 10:34:53 UTC 2020


On 24/07/2020 01:33, Joe Darcy wrote:
> Hello,
>
> Please review the replacement of default constructors in various 
> abstract classes in java.net with explicit constructors:
>
>     webrev: http://cr.openjdk.java.net/~darcy/8250244.0/
>     CSR: https://bugs.openjdk.java.net/browse/JDK-8250245
>
> (This is part of a larger effort to remove default constructor usage 
> from the JDK in preparation for enabling a new lint warning.)
Could we use the opportunity to change some of these to be protected? 
For some of these then I don't think there is any compatibility impact.

-Alan


More information about the net-dev mailing list