private void handleBooleanProperty(final String name) {
      String s = null;
      try {
         s = System.getProperty(name);
      } catch (SecurityException x) {
         if (DEBUG) debug("SecurityManager forbids reading system properties. Ignored");
      }
      if (s != null) {
         s = s.trim().toLowerCase();
         // we have to test for explicit "true" or "false".  anything else may
         // hide valid value set previously
         if (s.equals(TRUE) || s.equals(FALSE)) {
            if (DEBUG) debug("Setting "+name+" to '"+s+"'");
            props.put(name, s);
         } else {
            if (DEBUG) debug("Invalid value for -D"+name+": "+s+". Ignored");
         }
      }
   }