8192978: Missing checks and small fixes in jdwp library

Reviewed-by: cjplummer, sspitsyn
6 files changed