IBM Support

IV83584: ILLEGALARGUMENTEXCEPTION THROWN FROM METHODHANDLE.SENDRESOLVEMET HODHANDLE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.IllegalArgumentException: Illegal
    Lookup object
    .
    Stack Trace: java.lang.IllegalArgumentException: Illegal Lookup
    object - originated from java.lang.invoke:
    java.lang.invoke.StringConcatFactory
            at
    java.lang.invoke.StringConcatFactory.<clinit>(StringConcatFactor
    y.java:193)
            at
    java.lang.invoke.MethodHandle.getCPMethodHandleAt(Native Method)
            at
    java.lang.invoke.MethodHandle.resolveInvokeDynamic(MethodHandle.
    java:660)
    .
    This occurs when any class in the java.lang.invoke package
    attempts to create a java.lang.MethodHandles$Lookup object for
    use in an invokedynamic instruction
    

Local fix

Problem summary

  • The JVM was too restrictive in the access rights allowed to
    Lookup objects created for invokedynamic instructions from
    methods in the java.lang.invoke package.
    

Problem conclusion

  • The JVM has been updated to allow invokedynamic instructions in
    the the java.lang.invoke package to have the same visibility as
    other bytecodes in the same classfile.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR3       (8.0.3.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV83584

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-04-08

  • Closed date

    2016-04-11

  • Last modified date

    2016-04-11

  • 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

  • R270 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":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022