IBM Support

IV56857: BUG IN JAVA JIT INLINING FOR METHOD INVOCATION VIA REFLECTION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    An IllegalClassAccessException is not thrown when trying to
    access a public member of a private class via an instance of a
    public wrapper class containing the private class. The correct
    behaviour of the JVM in this scenario is to throw the exception.
    

Local fix

  • -Xjit:dontInline={sun/reflect/Reflection.getClassAccessFlags*}
    

Problem summary

  • It was possible to access a public member of a private class
    inside a public wrapper class, provided the wrapper class has a
    public function which can see through the private class.
    

Problem conclusion

  • This APAR will be fixed in the following Java Releases:
       7 R1 SR1 FP1   (7.1.1.1)
    .
    This problem only impacts Java 7.1 GA.It impacts Java 6.0.1 SR7
    and  Java 7 SR6 only when the option
    -Xjit:enableFastReflectMethodInvoke is specified.This problem
    has been fixed in Java 7.1 SR1. The problem introduced under the
    option "-Xjit:enableFastReflectMethodInvoke" is also fixed in
    Java 7 SR7 and Java 6.0.1 SR8.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV56857

  • Reported component name

    JIT

  • Reported component ID

    620700124

  • Reported release

    130

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2014-03-19

  • Closed date

    2014-03-22

  • Last modified date

    2014-03-22

  • 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

    JIT

  • Fixed component ID

    620700124

Applicable component levels

  • R130 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSC9HBA","label":"Just In Time (JIT) Compiler"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"130","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
22 March 2014