Klass::array_klass() should return ArrayKlass pointer

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: 22
    • Component/s: hotspot
    • b09

      Many of the HotSpot APIs that deal with array klasses use Klass* as the type (for both parameters and return value). This causes a lot of unnecessary type casts in the C++ code.

      These APIs should be changed to use ArrayKlass, TypeArrayKlass and ObjArrayKlass as appropriate.

            Assignee:
            Coleen Phillimore
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: