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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 14
    • 14
    • hotspot
    • b16

    Description

      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)) {

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: