<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>We have two cases:</p>
    <ol>
      <li>Underlying system(Linux) supports only numbers as parameter
        (adding this check will block Linux).<br>
      </li>
      <li>Underlying system(OS X) supports strings as parameter, but
        since we can always convert a number to a string numbers are
        supported too.</li>
    </ol>
    <p>So if system doesn't support numbers it doesn't support strings
      too, thus this exception will be thrown in this case.</p>
    <br>
    <div class="moz-cite-prefix">On 7/5/16 5:32 PM, Alexandr Scherbatiy
      wrote:<br>
    </div>
    <blockquote
      cite="mid:de436de3-94d9-e8ee-508e-1c239443c7de@oracle.com"
      type="cite">On 7/5/2016 5:04 PM, Alexander Zvegintsev wrote:
      <br>
      <blockquote type="cite">Hello,
        <br>
        <br>
        please review the fix
        <br>
        <a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~azvegint/jdk/9/8159374/00">http://cr.openjdk.java.net/~azvegint/jdk/9/8159374/00</a>
        <br>
        for the issue
        <br>
        <a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8159374">https://bugs.openjdk.java.net/browse/JDK-8159374</a>
        <br>
      </blockquote>
        Should the  "checkFeatureSupport(Feature.ICON_BADGE_TEXT)" be
      added to the setIconBadge() method?
      <br>
      <br>
        Thanks,
      <br>
        Alexandr.
      <br>
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>