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

Expand default constructor warning to cover more cases

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: tools
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      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

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

                Dates

                Created:
                Updated:
                Resolved: