return (bb.get() == 0) ? new Boolean(false) : new Boolean(true);
return Boolean.valueOf(bb.get() != 0);
  public static Object getUntaggedObj(ByteBuffer bb, Class type)    throws JdwpException, IOException  {    if (type.isPrimitive())      {        if (type == byte.class)          return new Byte(bb.get());        else if (type == char.class)          return new Character(bb.getChar());        else if (type == float.class)          return new Float(bb.getFloat());        else if (type == double.class)          return new Double(bb.getDouble());        else if (type == int.class)          return new Integer(bb.getInt());        else if (type == long.class)          return new Long(bb.getLong());        else if (type == short.class)          return new Short(bb.getShort());        else if (type == boolean.class)          return (bb.get() == 0) ? new Boolean(false) : new Boolean(true);        else if (type == void.class)          return new byte[0];        else          { // This shouldn't be possible            throw new JdwpInternalErrorException(              "Field has invalid primitive!");          }      }    else      {        // Field is an object        ObjectId oid = VMIdManager.getDefault().readObjectId(bb);        return oid.getObject();      }  }