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

BCEscapeAnalyzer::ArgumentMap::set_intersect() is incorrect

    Details

    • Subcomponent:
    • Resolved In Build:
      b03

      Description

      The method has the same implementation as set_union():

        void set_union(const ArgumentMap &am) { _bits |= am._bits; }
        void set_intersect(const ArgumentMap &am) { _bits |= am._bits; }

      Obviously, set_intersect() is wrong, should be:

        void set_intersect(const ArgumentMap &am) { _bits &= am._bits; }

      It did not blow up anything, because it has no user.

        Attachments

          Activity

            People

            • Assignee:
              zgu Zhengyu Gu
              Reporter:
              zgu Zhengyu Gu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: