Make VoidClosure::do_void pure virtual

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 18
    • Affects Version/s: 18
    • Component/s: hotspot
    • b12

      ```
      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.

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

              Created:
              Updated:
              Resolved: