-
Enhancement
-
Resolution: Not an Issue
-
P3
-
9
-
generic
-
generic
Input from Alan:
Most of the support for module aware agents went into JDK 9 as part of the module system in jdk-9+111.JDK-8153749 is in progress to add an additional capability that will allow agents get the CFLH in the primordial phase.
Remaining issues that need examination are:
1. There is currently isn't a way for agents to get the Module in a ClassFileLoadHook event for a class load (for a retransform then class_being_redefined is non-NULL and so the agent can use JNI GetModule).
2. Should the new transform method in ClassFileTransformer provide the ClassLoader in addition to the Module?
Most of the support for module aware agents went into JDK 9 as part of the module system in jdk-9+111.
Remaining issues that need examination are:
1. There is currently isn't a way for agents to get the Module in a ClassFileLoadHook event for a class load (for a retransform then class_being_redefined is non-NULL and so the agent can use JNI GetModule).
2. Should the new transform method in ClassFileTransformer provide the ClassLoader in addition to the Module?
- relates to
-
JDK-8146454 Add support for module aware agents
-
- Resolved
-