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

SetupOperatorNewDeleteCheck should discuss deleting destructors

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14
    • Component/s: infrastructure
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b07

      Description

      SetupOperatorNewDeleteCheck is a build-time check for use of the global operator new and delete operations, which we're not supposed to be doing in Hotspot. There is a comment describing how to find such references when they are reported. However, if the warning is for a "deleting destructor", the reference is non-obvious even then, and can be quite puzzling if one isn't already familiar with that term and its meaning. It would be helpful to add a comment about deleting destructors, their cause, and how to recognize them.

        Attachments

          Activity

            People

            Assignee:
            kbarrett Kim Barrett
            Reporter:
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: