-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
b49
-
generic
-
generic
Name: ooR10006 Date: 03/15/2004
Specification of java.lang.instrument.Instrumentation in JDK1.5 b42
(introduced by CCC 4988776: JVMTI Spec: BCI and class sharing)
says for the method redefineClasses(ClassDefinition[] definitions):
"Throws:
...
UnmodifiableClassException - if a specified class cannot be modified"
However, the method accepts an array of ClassDefinitions as its input
and the specification does not describe what happens with those
ClassDefinitions which correspond to modifiable classes - either none
of the classes are redefined or some classes still redefined. This
should be clarified in the specification.
======================================================================