IV34697: INCOMPATIBLECLASSCHANGEERROR WHEN ATTEMPTING TO LDC A METHODHAND LE TO A PRIVATE VIRTUAL METHOD.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Error Message: IncompatibleClassChangeError when attempting to
    ldc a MethodHandle to a private virtual method.
    .
    Stack Trace: Exception in thread "main"
    java.lang.IncompatibleClassChangeError:
    Ldc_MH_private_virtual.foo()Ljava/lang/String;
            at
    Ldc_MH_private_virtual.getVirtualMHToFoo(Ldc_MH_private_virtual.
    java:17)
            at
    Ldc_MH_private_virtual.main(Ldc_MH_private_virtual.java:21)
    .
    

Local fix

Problem summary

  • The issue is caused when attempting to create a MethodHandle to
    a private virtual method using LDC.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR4
    .
    The JVM has been updated to correctly handle the case of a
    virtual MethodHandle ref to a private method.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV34697

  • 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

    2013-01-14

  • Closed date

    2013-01-14

  • Last modified date

    2013-01-14

  • 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



Rate this page:

(0 users)Average rating

Document information


More support for:

Runtimes for Java Technology
Virtual Machine

Software version:

260

Reference #:

IV34697

Modified date:

2013-01-14

Translate my page

Machine Translation

Content navigation