Filed By : JCK team
JDK : java full version "1.6.0-fcs"
JCK : 6a
Platform[s] : all
switch/Mode : default
JCK test owner : http://javaweb.sfbay/jcce/tcks/jck/docs/others/owners.jto
The JDWP 6.0 specification for ObjectReference.ReferringObjects and ReferenceType.Instances commands at:
states as follows:
INVALID_OBJECT object is not a known ID
INVALID_OBJECT refType is not a known ID
However, if command packet which has been sent to debuggee contains unknown objectID/refType (e.g. 0 - null object)
then returned reply packet contains unexpected ILLEGAL_ARGUMENT error code in packet header instead of
INVALID_OBJECT error code. According to JDWP specification the ILLEGAL_ARGUMENT error code is returned only when:
ILLEGAL_ARGUMENT maxReferrers is less than zero.
ILLEGAL_ARGUMENT maxInstances is less than zero.
The following new JCK 6a tests fail due to this issue:
Please see attached .jtr files for more details.