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

Max/Min nodes Value implementation could be improved

    XMLWordPrintable

Details

    • b13
    • generic
    • generic

    Description

      Max/Min nodes Value implementations inherit from that of AddNode, which checks if either input has type bottom, in which case it returns the local bottom immediately. This is clearly wrong, as Type(Min(x, -1)) should equal to [min_jint, -1] instead of bottom.

      Attachments

        Issue Links

          Activity

            People

              qamai Quan Anh Mai
              qamai Quan Anh Mai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: