Description
As reported in off-list discussions with [~prr], there are situations where a protected class's default constructor can be exposed in an formal API. These situations are not covered by the warning implemented by JDK-8071961, but perhaps the warning should be extended to cover more cases.
Attachments
Issue Links
- csr for
-
JDK-8252348 Expand default constructor warning to cover more cases
- Closed
- relates to
-
JDK-8252195 AWT Accessibility API nested classes rely on default constructors
- Resolved
-
JDK-8071961 Add javac lint warning when a default constructor is created
- Resolved