IBM Support

IV30051: CRASH USING METHODHANDLE RETURNED FROM METHODHANDLES.FINDSTATICG ETTER OR SETTER

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: Crash using a MethodHandle returned from
    MethodHandles.findStatic{Getter, Setter}() when the MethodHandle
    refers to a static field defined in a superclass.
    .
    Stack Trace: N/A
    .
    

Local fix

  • Use the defining class of the static field when attempting to
    look up the field using MethodHandles.findStatic{Setter,
    Getter}()
    

Problem summary

  • The problem is caused when
    MethodHandles.findStatic{Getter,Setter} is used to get a
    MethodHandle to a static field defined in a superclass and that
    MethodHandle is then invoked.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR3
    .
    The JVM has been updated to use the correct class when accessing
    static fields defined in superclasses.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV30051

  • 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-10-12

  • Closed date

    2012-10-12

  • Last modified date

    2012-10-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



Document information

More support for: Runtimes for Java Technology
Virtual Machine

Software version: 260

Reference #: IV30051

Modified date: 12 October 2012