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

C1: Incorrect result of field load due to missing narrowing conversion

XMLWordPrintable

    • b26

        jittester-generated test fails with
        STDERR:
        java.lang.RuntimeException: Actual stderr isn't equal to golden one: expected java.lang.NumberFormatException
         to equal java.lang.ArithmeticException

        To reproduce the issue it is needed to download all attached files in hotspot regression tests, saying compiler/jittester and run
        bash jib.sh make -- run-test JTREG_RETAIN=all TEST=compiler/jittester

          1. Test_58_Class_0.class
            9 kB
            Leonid Mesnik
          2. Test_58_Class_1.class
            6 kB
            Leonid Mesnik
          3. Test_58_Class_2.class
            2 kB
            Leonid Mesnik
          4. Test_58_Class_3.class
            9 kB
            Leonid Mesnik
          5. Test_58_Class_4.class
            7 kB
            Leonid Mesnik
          6. Test_58_Class_5.class
            5 kB
            Leonid Mesnik
          7. Test_58_Class_7.class
            18 kB
            Leonid Mesnik
          8. Test_58_Class_8.class
            8 kB
            Leonid Mesnik
          9. Test_58_Class_9.class
            7 kB
            Leonid Mesnik
          10. Test_58_Interface_0.class
            0.1 kB
            Leonid Mesnik
          11. Test_58_Interface_6.class
            0.1 kB
            Leonid Mesnik
          12. Test_58.class
            19 kB
            Leonid Mesnik
          13. Test_58.gold.err
            0.0 kB
            Leonid Mesnik
          14. Test_58.gold.exit
            0.0 kB
            Leonid Mesnik
          15. Test_58.gold.out
            0.0 kB
            Leonid Mesnik
          16. Test_58.java
            2 kB
            Leonid Mesnik

              thartmann Tobias Hartmann
              lmesnik Leonid Mesnik
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: