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

Clean up confusing Method::is_initializer

XMLWordPrintable

    • b20

      All around Hotspot, we have calls to `method->is_initializer()`. That method tests for both instance and static initializers. In many cases, the uses imply we actually want to test for constructor, not static initializer. Sometimes we filter explicitly for `!m->is_static()`, sometimes we don't. We need to sharpen this, probably remove the confusing `is_initializer` to avoid future accidents.

      The behavioral changes are split into related issues.

            shade Aleksey Shipilev
            shade Aleksey Shipilev
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: