IV19637: NATIVE METHODS BOUND VIA JNI NOT CALLABLE AFTER CLASS REDEFINITI ON

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: UnsatisfiedLinkError is thrown when attempting to
    call a native which was bound via the JNI function
    RegisterNatives and the declaring class has been redefined.
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • Classes which are recreated as a side-effect of recreating other
    classes were not retaining their bound native implementations.
    This is only visible if the native method was bound using
    RegisterNatives as the VM would simply re-bind natives that were
    found in loaded JNI libraries.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR1
    6.0.1 SR2
    6.0.0 SR11
    .
    JVM has been updated to retain the bound native information in
    all cases.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV19637

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-12

  • Closed date

    2012-04-12

  • Last modified date

    2012-04-12

  • 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

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R260 PSY

       UP

  • R600 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Runtimes for Java Technology
Virtual Machine

Software version:

260

Reference #:

IV19637

Modified date:

2012-04-12

Translate my page

Machine Translation

Content navigation