VOOZH about

URL: https://www.ibm.com/support/pages/apar/PH45122

⇱ PH45122: OPENJCEPLUS JNI ERROR IN RELEASEPRIMITIVEARRAYCRITICAL JAVA 11 WITH -XCHECK:JNI


PH45122: OPENJCEPLUS JNI ERROR IN RELEASEPRIMITIVEARRAYCRITICAL JAVA 11 WITH -XCHECK:JNI

APAR status

  • Closed as program error.

Error description

  • Error Message: JNI error was returned when running Java 11 with
    enabling "-Xcheck:jni" flag
    .
    Stack Trace: -Xcheck:jni:all,pedantic in our profile, the JVM
    reports a fatal error:
    JVMJNCK001I JNI check utility installed. Use -Xcheck:jni:help
    for usage
    JVMJNCK055E JNI error in ReleasePrimitiveArrayCritical: Pointer
    0x000000008E198BB8 was not returned by any JNI function, or was
    already released
    JVMJNCK077E Error detected in
    com/ibm/crypto/plus/provider/icc/NativeInterface.z_kmc_native(<O
    SB>BI<OSB>BIJII)I
    .
    

Local fix

  • Not passing Xcheck:jni argument to JVM
    

Problem summary

  • In this instance an incorrect address was being passed to
    ReleasePrimitiveArrayCritical causing both the (intended)
    storage to not be released and the reported JNI Error output.
    

Problem conclusion

  • This issue has been corrected and this
    ReleasePrimitiveArrayCritical call now releases the (intended)
    storage and the JNI Error message isn't output.
    .
    This APAR will be fixed in the following Java Releases:
     11 15 (11.0.15.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
     https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH45122

  • Reported component name

    JAVA Z/OS 64

  • Reported component ID

    620700104

  • Reported release

    B00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-03-23

  • Closed date

    2022-03-23

  • Last modified date

    2022-03-23

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA Z/OS 64

  • Fixed component ID

    620700104

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"B00"}]

Document Information

Modified date:
24 March 2022