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

Make VoidClosure::do_void pure virtual

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 18
    • 18
    • hotspot
    • b12

    Description

      ```
      class VoidClosure : public StackObj {
       public:
        // I would have liked to declare this a pure virtual, but that breaks
        // in mysterious ways, for unknown reasons.
        virtual void do_void();
      };
      ```

      It's unclear what "unknown reasons" were, but making it pure virtual works fine on master branch.

      Attachments

        Issue Links

          Activity

            People

              ayang Albert Yang
              ayang Albert Yang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: