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

Make InstanceKlass::implementor return InstanceKlass

    XMLWordPrintable

    Details

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

      Description

      To avoid InstanceKlass::cast() calls

        // Access to the implementor of an interface.
        Klass* implementor() const;
        void set_implementor(Klass* k);
        int nof_implementors() const;
        void add_implementor(Klass* k); // k is a new class that implements this interface
        void init_implementor(); // initialize

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              hseigel Harold Seigel
              Reporter:
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: