// cache of
// redefined
// types
}
JdwpReplyPacket reply = requestVM(
JdwpCommandPacket.VM_REDEFINE_CLASSES, outBytes);
switch (reply.errorCode()) {
case JdwpReplyPacket.UNSUPPORTED_VERSION:
throw new UnsupportedClassVersionError();
case JdwpReplyPacket.INVALID_CLASS_FORMAT:
throw new ClassFormatError();
case JdwpReplyPacket.CIRCULAR_CLASS_DEFINITION:
throw new ClassCircularityError();
case JdwpReplyPacket.FAILS_VERIFICATION:
throw new VerifyError();
case JdwpReplyPacket.NAMES_DONT_MATCH:
throw new NoClassDefFoundError();
case JdwpReplyPacket.ADD_METHOD_NOT_IMPLEMENTED:
throw new UnsupportedOperationException(
JDIMessages.VirtualMachineImpl_Add_method_not_implemented_1);
case JdwpReplyPacket.SCHEMA_CHANGE_NOT_IMPLEMENTED:
throw new UnsupportedOperationException(
JDIMessages.VirtualMachineImpl_Scheme_change_not_implemented_2);
case JdwpReplyPacket.HIERARCHY_CHANGE_NOT_IMPLEMENTED:
throw new UnsupportedOperationException(
JDIMessages.VirtualMachineImpl_Hierarchy_change_not_implemented_3);
case JdwpReplyPacket.DELETE_METHOD_NOT_IMPLEMENTED:
throw new UnsupportedOperationException(
JDIMessages.VirtualMachineImpl_Delete_method_not_implemented_4);
case JdwpReplyPacket.CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED:
throw new UnsupportedOperationException(
JDIMessages.VirtualMachineImpl_Class_modifiers_change_not_implemented_5);
case JdwpReplyPacket.METHOD_MODIFIERS_CHANGE_NOT_IMPLEMENTED:
throw new UnsupportedOperationException(
JDIMessages.VirtualMachineImpl_Method_modifiers_change_not_implemented_6);
default:
defaultReplyErrorHandler(reply.errorCode());
}
} catch (IOException ioe) {
defaultIOExceptionHandler(ioe);
return;
} finally {