JDK-6618335 : ThreadReference.stop(null) throws NPE instead of InvalidTypeException
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
This is caused by the fix for
6456686: VMMismatch not thrown for VM.instanceCounts and VM.redefineClasses
That fix added a call to validateMirror on the input argument to ThreadReference.stop(Throwable).
validateMirror throws the NPE if the input argument is null.
The call should be to validateMirrorOrNull which tolerates the argument being null.