Don't return booleans from methods returning pointers

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • hs23
    • Affects Version/s: hs23
    • Component/s: hotspot
    • None
    • b13
    • generic
    • generic

        The methods constantPoolOopDesc::method_at_if_loaded() and CountedLoopNode::match_incr_with_optional_truncation() both have "return false" statements even though their actual return values are pointers (methodOop and Node*).

        This is wrong and it will cause builds to fail with GCC 4.7.

              Assignee:
              Bengt Rutisson (Inactive)
              Reporter:
              Bengt Rutisson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: