<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi All,</p>
<p>Please review the fix for test bug:</p>
<p>Bug : JDK-8027154 <a moz-do-not-send="true"
href="https://bugs.openjdk.java.net/browse/JDK-8027154"><u><https://bugs.openjdk.java.net/browse/JDK-8027154></u></a></p>
<p>JDK 10 Webrev: <a moz-do-not-send="true"
href="http://cr.openjdk.java.net/%7Epkbalakr/Krishna/8027154/webrev00/">http://cr.openjdk.java.net/~pkbalakr/Krishna/8027154/webrev00/</a></p>
<p>Summary:</p>
<p>The test intends to check the mouse move on Frame2, which is
drawn in the MouseMove callback for Frame1. <br>
</p>
<p>However, the code wrongly asserts for the expected mouse position
on Frame2, which was just created. <br>
</p>
<p>Also, Frame2 has no callback registered for MouseMove, which is
leading to different behaviors on different platforms.</p>
<p>On Windows and Linux, the assertion is thrown for Mouse Position
whereas on Mac, a NullPointerException is thrown.<br>
</p>
<p>After moving the code into the callback for Frame2, the test
passes on all the platforms.<br>
</p>
<p>Thanks,</p>
<p>Krishna<br>
</p>
<p><br>
</p>
<p><a class="issue-link" data-issue-key="JDK-8027154"
href="https://bugs.openjdk.java.net/browse/JDK-8027154"
id="key-val" rel="4700433" style="color: rgb(59, 115, 175);
text-decoration: none;"><br>
</a></p>
<p><a class="issue-link" data-issue-key="JDK-8027154"
href="https://bugs.openjdk.java.net/browse/JDK-8027154"
id="key-val" rel="4700433" style="color: rgb(59, 115, 175);
text-decoration: none;"><br>
</a></p>
</body>
</html>