RFR: 8180387: com.sun.source.util.JavacTask should have a protected constructor.
Vicente Romero
vromero at openjdk.org
Wed Feb 8 06:00:46 UTC 2023
On Tue, 7 Feb 2023 21:25:28 GMT, Archie L. Cobbs <duke at openjdk.org> wrote:
> Standard practice is for constructors in `abstract` classes to be `protected` rather than `public` because they can't be used except from subclasses.
>
> [JDK-8180387](https://bugs.openjdk.org/browse/JDK-8180387) was filed to address a particular instance of this phenomenon in the class `com.sun.source.util.JavacTask`.
looks good
-------------
Marked as reviewed by vromero (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12462
More information about the compiler-dev
mailing list