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

Klass::array_klass() should return ArrayKlass pointer

XMLWordPrintable

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

            coleenp Coleen Phillimore
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: