IBM Support

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

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022