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

292 cleanup from default method code assessment

XMLWordPrintable

    • b66

        Code bugs in 292 code identified during default method code assessment:
        Introduced in 8.

        1. methodHandles:init_method_memberName (get latest fix from John Rose)
          Ensure resolved_method() is not null before dereferencing m->method_holder()
          Ensure m_klass is not null before dereferencing

        Could cause a crash - so worth fixing in 8 update.

        2. klassItable::method_count_for_interface
        #ifdef ASSERT
          while (nof_methods = 0)

        // probably supposed to be while (nof_methods > 0)

              mhaupt Michael Haupt
              acorn Karen Kinnear (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: