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

Make VoidClosure::do_void pure virtual

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • 18
    • 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.

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

              Created:
              Updated:
              Resolved: