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

The SendRawSysexMessage test may cause a JVM crash

    XMLWordPrintable

Details

    • b24
    • generic
    • generic

    Backports

      Description

        The root cause is described here:
        https://bugs.openjdk.org/browse/JDK-8272495
        >Seen in the original version that was not fixed:
        >The JNI call at https://github.com/ibmruntimes/openj9-openjdk-jdk8/blob/openj9/jdk/src/share/native/com/sun/media/sound/MidiOutDevice.c#L143 should use the original address >acquired via GetByteArrayElements, not the possibly modified address.
        >jdk/src/share/native/com/sun/media/sound/MidiOutDevice.c:143
        > (*e)->ReleaseByteArrayElements(e, jData, (jbyte*) data, JNI_ABORT);
        >The same problem appears to be present in all versions.

        Attachments

          Issue Links

            Activity

              People

                serb Sergey Bylokhov
                serb Sergey Bylokhov
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: