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

c2 produces incorrect results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • hotspot
    • b63
    • generic
    • generic
    • Verified

      The attached test program produces incorrect results on c2.
      < Tester_4928_Class_4.var_1 = 119
      ---
      > Tester_4928_Class_4.var_1 = 7

      How to reproduce: java -Xint Tester_4928 > r1; java -server -Xcomp Tester_4928 > r2; diff r1 r2

      The problem is reproduced on all platforms, from at least version 1.5 to the lastest builds of 1.6.

            rasbold Chuck Rasbold
            iveresov Igor Veresov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: