Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8251921

Expand default constructor warning to cover more cases

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 16
    • 16
    • tools
    • None
    • b14

      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.

            darcy Joe Darcy
            darcy Joe Darcy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: