<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello, <br>
<br>
Please review fix for JDK9:<br>
<br>
bug: <a class="moz-txt-link-freetext" href="https://bugs.openjdk.java.net/browse/JDK-8154434">https://bugs.openjdk.java.net/browse/JDK-8154434</a><br>
webrev: <a class="moz-txt-link-freetext" href="http://cr.openjdk.java.net/~ssadetsky/8154434/webrev.00/">http://cr.openjdk.java.net/~ssadetsky/8154434/webrev.00/</a><br>
<br>
To support the new FocusEvent cause concept introduced by
JDK-8080395 the next package-private methods of the
java.awt.Component class are opened in the fix:<br>
<br>
boolean requestFocus(FocusEvent.Cause cause) -> public void
requestFocus(FocusEvent.Cause cause)
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
boolean requestFocus(boolean temporary, FocusEvent.Cause cause)
-> protected boolean requestFocus(boolean temporary,
FocusEvent.Cause cause)<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
boolean requestFocusInWindow(FocusEvent.Cause cause) ->
<meta http-equiv="content-type" content="text/html; charset=utf-8">
public boolean requestFocusInWindow(FocusEvent.Cause cause)<br>
<br>
The methods are changed to be symmetric with the focus request
methods of the same class which do not accept the cause parameter.<br>
The method requestFocus(FocusEvent.Cause cause) was changed to
return no value similarly to the requestFocus() because the
returning boolean true cannot guarantee the focus gain.<br>
<br>
--Semyon<br>
<br>
<br>
</body>
</html>