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

get different results with jit for narrowing int ,embedded float&int assignments

XMLWordPrintable

    • jit
    • x86
    • windows_nt

      without jit it generates the desired output.
      Test passes on sparc but fails on win-NT.

      [5/20 sadhana]

      Required test files are in dir /net/elmer/export/bugtraq/etc/attached/<bugid> dir.

      $ more *tlog
      ##### assignmentconversion1_beta java_run.sh
       hydra_javac.sh
      f:/jdk1.0.2_jit/build/win32/bin/javac_g assignmentconversion1_b
      eta.java
      testing.java > assignmentconversion1_beta.javac.out 2>&1
      f:/jdk1.0.2_jit/build/win32/bin/jitc_g -xarch=x86 assignmentconve
      rsion1_beta.class
      testing.class > assignmentconversion1_beta.jitc.out 2 >& 1
      hydra_resolve
      f:/jdk1.0.2_jit/build/win32/bin/java_g -Djava.compiler=JIT assig
      nmentconversion1_beta >> assignmentconversion1_beta.java.out 2>&1
      Failure: Array Char value assignment of -32768 yields 0
               expected 32768
      Failure: Array Char value assignment of -256 yields 0
               expected 65280
      Failure: Array Char value assignment of -128 yields 128
               expected 65408
      Failure: Array Byte value assignment of -128 yields 128
               expected -128
      Failure: Array Char value assignment of -3 yields 253
               expected 65533
      Failure: Array Byte value assignment of -3 yields 253
               expected -3
      Failure: Array Char value assignment of -2 yields 254
               expected 65534
      Failure: Array Byte value assignment of -2 yields 254
               expected -2
      Failure: Array Char value assignment of -1 yields 255
               expected 65535
      Failure: Array Byte value assignment of -1 yields 255
               expected -1
      Failure: Array Byte value assignment of 255 yields 255
               expected -1
      Failure: Array Char value assignment of 256 yields 0
               expected 256
      Failure: Array Char value assignment of 32767 yields 255
               expected 32767
      Failure: Array Byte value assignment of 32767 yields 255
               expected -1
      Failure: Array Char value assignment of 65535 yields 255
      ....


            duke J. Duke
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: