<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    The fix is straightforward and I've seen this bug pattern before.<br>
    In fact there may even have been a sweep for uses of contains() to
    make sure it was as intended,<br>
    but if so it wasn't thorough enough.<br>
    But I'm wondering why the test extends Button and not JButton ?<br>
    I'm then further wondering if it could then be made headless .. ie
    no need to create or display a Frame ?<br>
    <br>
    -phil.<br>
    <br>
    On 3/3/18, 6:30 AM, Krishna Addepalli wrote:
    <blockquote cite="mid:7c9fd13a-4af8-4302-9e87-c0c6d41eceae@default"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">Hi All,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Please review a simple fix for JDK-8197785:
          <a moz-do-not-send="true"
            href="https://bugs.openjdk.java.net/browse/JDK-8197785">https://bugs.openjdk.java.net/browse/JDK-8197785</a><o:p></o:p></p>
        <p class="MsoNormal">Webrev:  <a moz-do-not-send="true"
            href="http://cr.openjdk.java.net/%7Ekaddepalli/8197785/webrev00/">http://cr.openjdk.java.net/~kaddepalli/8197785/webrev00/</a><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">As the bug description suggests,
          AccessibleBundle.loadResourceBundle has the line
          “table.contains” which causes it to reload the resource bundle
          for each call.<o:p></o:p></p>
        <p class="MsoNormal">Changing it to “table.containsKey” fixes
          the problem.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks,<o:p></o:p></p>
        <p class="MsoNormal">Krishna<o:p></o:p></p>
      </div>
    </blockquote>
  </body>
</html>