code: static String getNormalizedOperatingSystemName(final String osName) {
          String name = osName.toLowerCase(Locale.ENGLISH);
          name = name.replaceAll("[^0-9a-zA-Z_-]", "");
          return name;
      }
docs: Normalize the value associated with the &quot;os.name&quot; system
  property by putting it in lower case and removing characters that
  cannot be used with {@link java.util.jar.Attributes.Name}.
  
  @return the normalized OS name