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

[AArch64] Interpreter and c1 don't correctly handle jboolean results in native calls

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9, 10, 11
    • Fix Version/s: 12
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b13
    • CPU:
      aarch64

      Description

      The handlers for jboolean on Aarch64 are incorrect. This can lead to wrong results being passed as return values from native calls which return jboolean values if these values are not exactly '1' or '0' (i.e. a return value of '2' will be interpreted as 'false').
      This is a dup of bug 8209637.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aph Andrew Haley
                Reporter:
                aph Andrew Haley
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: