8788899091929394
} catch (UnsupportedEncodingException ex) { // Any string from the VM should be in UTF-8 so an encoding error // shouldn't be possible throw new JdwpInternalErrorException(ex); } }
155156157158159160161162163164165
os.writeByte(JdwpConstants.Tag.BOOLEAN); os.writeBoolean(((Boolean) obj).booleanValue()); } else { // This shouldn't be possible throw new JdwpInternalErrorException( "Field has invalid primitive!"); } } else {
235236237238239240241242243244245
return Boolean.valueOf(bb.get() != 0); else if (type == void.class) return new byte[0]; else { // This shouldn't be possible throw new JdwpInternalErrorException( "Field has invalid primitive!"); } } else {
78798081828384858687
} catch (IOException ex) { // The DataOutputStream we're using isn't talking to a socket at all // So if we throw an IOException we're in serious trouble throw new JdwpInternalErrorException(ex); } return false; }
113114115116117118119120121122
919293949596979899100
138139140141142143144145146
{ throw new InvalidFieldException(ex); } catch (IllegalAccessException ex) { // Since we set it as accessible this really shouldn't happen throw new JdwpInternalErrorException(ex); } } }
215216217218219220221222
catch (Exception ex) { if (suspend) VMVirtualMachine.resumeAllThreads (); throw new JdwpInternalErrorException(ex); } }
87888990919293949596
125126127128129130131132133134