IBM Support

IV38472: METHODHANDLES ON FINAL METHODS IN OBJECT THAT HAVE BEEN LOOKED U P AGAINST INTERFACE CLASSES THROW CLASSCASTEXCEPTION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: Exception in thread "main"
    java.lang.ClassCastException
            at Test7157574.testConcrete(Test7157574.java:102)
            at Test7157574.main(Test7157574.java:85)
    .
    

Local fix

Problem summary

  • The problem occurs when invoking a MethodHandle on a final
    method in Object that has been looked up using an interface
    class.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR4_FP1
    .
    The JVM has been modified to ensure that the MethodHandles on
    final methods in Object can be invoked when looked up using an
    interface class.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV38472

  • 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-03-21

  • Closed date

    2013-03-21

  • Last modified date

    2013-07-10

  • 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