This bug tracks the SDK changes needed to java.lang.instrument to correspond to the JVMTI changes in 4988776.
These changes are:
Add UnmodifiableClassException thrown by Instrumentation.redefineClasses
Where UnmodifiableClassException is a basic exception with the comment:
"Thrown by an implementation of Instrumentation.redefineClasses when one of the specified classes cannot be modified."
--------
The three JVMTI agents in the SDK (instrument, hprof and the JPDA back-end) will need to be adjusted in very minor ways to use the new capabilities to control their interactions with class sharing.
These changes are:
Add UnmodifiableClassException thrown by Instrumentation.redefineClasses
Where UnmodifiableClassException is a basic exception with the comment:
"Thrown by an implementation of Instrumentation.redefineClasses when one of the specified classes cannot be modified."
--------
The three JVMTI agents in the SDK (instrument, hprof and the JPDA back-end) will need to be adjusted in very minor ways to use the new capabilities to control their interactions with class sharing.
- relates to
-
JDK-5004026 BCI and unmodifiable classes in the SDK: update JVMTI agents to new API features
-
- Closed
-