valid = new Boolean(result);
valid = Boolean.valueOf(result);
  public boolean selfTest()  {    if (valid == null)      {        boolean result = super.selfTest(); // symmetry        if (result)          {            result = testKat(TV_KEY, TV_CT);          }        valid = new Boolean(result);      }    return valid.booleanValue();  }