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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      b26

      Backports

        Description

        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

          Attachments

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

            Issue Links

              Activity

                People

                • Assignee:
                  thartmann Tobias Hartmann
                  Reporter:
                  lmesnik Leonid Mesnik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: