IBM Support

IV68159: JVM IS NOT THROWING ILLEGALARGUMENTEXCEPTION FROM JAVA.LANG.REFL ECT.ARRAY.SET() API WHEN THE ARRAY IS A PRIMITIVE TYPE AND THE V

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    As per the API spec, java.lang.reflect.Array.set(Object array,
    int index, Object value) should throw IllegalArgumentException
    when the array is a primitive type and the value is not a
    wrapped primitive type. Instead the JVM does not throw any
    exception.
    

Local fix

  • N/A
    

Problem summary

  • JVM is not throwing IllegalArgumentException from
    java.lang.reflect.Array.set API when the array is a primitive
    type and the value is not a wrapped primitive type.
    

Problem conclusion

  • The JVM has been updated to throw IllegalArgumentException as
    per the specification.
    .
    This APAR will be fixed in the following Java Releases:
       7    SR9       (7.0.9.0)
       7 R1 SR3       (7.1.3.0)
       6 R1 SR9       (6.1.9.0)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the Service
    Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV68159

  • 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

    2014-12-24

  • Closed date

    2014-12-24

  • Last modified date

    2014-12-31

  • 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

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

Document Information

Modified date:
21 February 2022