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

Missing but used special functions for some classes

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b20

      Description

      C++11 12.8/7 and 12.8/18 say that a copy constructor or copy assignment operator will be implicitly defined under certain conditions, but that doing so is deprecated if the class has a user-declared destructor or user-declared copy or assign. gcc9 issues a deprecation warning in these situations when C++11 or C++14 is selected; earlier versions didn't. We have a few of these, and need to do something about them for JDK-8208089.

        Attachments

          Issue Links

            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: