docs: @SuppressWarnings("WeakerAccess")
      void addOrReplaceProperty(final String name, final Object value) {
          final String currentValue = SecurityActions.setPropertyPrivileged(name, value.toString());
          if (currentValue != null) {
              propertiesToReset.put(name, currentValue);
          } else {
              propertiesToClear.add(name);
          }
      }