Replace JVM type comparisons to T_OBJECT and T_ARRAY with call to is_reference_type

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 14
    • Affects Version/s: 14
    • Component/s: hotspot
    • b16

      Numerous JVM conditionals compare against T_OBJECT and T_ARRAY

      } else if (type == T_OBJECT || type == T_ARRAY) {

      For readability and future extendability replace with a call to

      } else if (is_reference_type(type)) {

            Assignee:
            Lois Foltan
            Reporter:
            Lois Foltan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: