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

JDK11 throws the RuntimeException, but JDK8 executes normally

XMLWordPrintable

    • generic
    • generic

        ADDITIONAL SYSTEM INFORMATION :
        Microsoft Windows 10 Professional
        10.0.19044 Build 19044
        AMD Ryzen 5 5600G with Radeon Graphics 3.90 GHz
        Memory 32 GB

        openjdk version "1.8.0_332"
        OpenJDK Runtime Environment (Temurin)(build 1.8.0_332-b09)
        OpenJDK 64-Bit Server VM (Temurin)(build 25.332-b09, mixed mode)

        openjdk version "11.0.15" 2022-04-19
        OpenJDK Runtime Environment Temurin-11.0.15+10 (build 11.0.15+10)
        OpenJDK 64-Bit Server VM Temurin-11.0.15+10 (build 11.0.15+10, mixed mode)

        A DESCRIPTION OF THE PROBLEM :
        When the test case TestCase22 is executed using JDK11, a RuntimeException is thrown, and JDK8 executes normally. We've uploaded test cases that reproduce behavioral differences to the Google Drive, which can be found at the URL(https://drive.google.com/file/d/15o0kGAxm4vH4-J4VEUWuOa7J9AqUViv-/view?usp=sharing).


        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        hotspot/jdk8/bin/java TestCase22
        hotspot/jdk11/bin/java TestCase22

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        TestCase22 {
          Test4486735 Passed
        } Passed

        TestCase22 {
          Test4486735 Passed
        } Passed
        ACTUAL -
        TestCase22 {
          Test4486735 Passed
        } Passed

        TestCase22 {
          Test4486735 {
            Uncaught exception thrown in test method Test4486735
        Exception in thread "main" java.lang.RuntimeException: Uncaught exception thrown in test method Test4486735
                at TestCase22_interface.errImpl(IntlTest.jasm)
                at TestCase22_interface.errln(IntlTest.jasm)
                at TestCase22_interface.run(IntlTest.jasm)
                at TestCase22.main(DateFormatTest.jasm)

          1. TestCase22_interface.class
            5 kB
            swati sharma
          2. TestCase22.class
            3 kB
            swati sharma

              rwallace Ryan Wallace (Inactive)
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: