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

SetupOperatorNewDeleteCheck should discuss deleting destructors

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 14
    • None
    • infrastructure
    • None
    • b07

      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.

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

              Created:
              Updated:
              Resolved: