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

Expand default constructor warning to cover more cases

    XMLWordPrintable

Details

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

    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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: