IZ80965: AGENT_ONATTACH CALLED WITH BOOTSTRAP INSTEAD OF APP CLASSLOADER

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
    .
    

Local fix

Problem summary

  • When writing a JVMTI agent that uses late attach, the
    Agent_OnAttach() function in
    the agent is called with the bootstrap class loader as the
    context class loader. This
    restricts any JNI calls to FindClass called in the agent to
    classes present on the
    bootclass path.
    

Problem conclusion

  • This defect will be fixed in:
    5.0.0 SR12
    .
    The Attach API has been modified to use the application class
    loader when loading agents.
    .
    To obtain the fix:
    Install build 20091124 or later
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ80965

  • Reported component name

    JAVA 5 J9 COMMO

  • Reported component ID

    620500127

  • Reported release

    500

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-07-26

  • Closed date

    2010-07-26

  • Last modified date

    2010-07-26

  • 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

    JAVA 5 J9 COMMO

  • Fixed component ID

    620500127

Applicable component levels

  • R500 PSN

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Runtimes for Java Technology
Virtual Machine

Software version:

5.0

Reference #:

IZ80965

Modified date:

2010-07-26

Translate my page

Machine Translation

Content navigation