There is existing application using the sun.awt.SunToolkit:setLWRequestStatus method.
This issue is to examine if a supported API should be provided to replace the use of this internal API.
Comments
We don't see a supportable way forward on this.
24-12-2015
What do you mean under "too broad"? Actually the method is only functional if the special property is set.
The behavior is defined very well on all platforms. Please be more specific what do you think is undefined.
24-11-2015
I suggest to postpone the current fix, where we allow direct access to setLWRequestStatus. The suggested method solve the discussed issue but in the same moment the fix is too broad, behavior of this method potentially will be undefined on most(all?) of our supported platforms. and will properly work only in case of one application, for which this feature was created. And if we will open it we should support it forever.
I guess we should check other unspecified options for jdk9 as well, reflection? hidden properties? some clientProperty? etc.
29-10-2015
Phil, Yes it works exactly as Anton described in this email. And it is pointed in the suggested fix that it will work only for focus transitions inside a HW container.
28-09-2015
I suggest to move it directly to Window class java.awt.Window#setLWRequestStatus().
17-09-2015
These two tests may be updated to pass addExports to them but that would require a smallish effort to convert them from someway imperfect tonga jtreg format.
RULE AWT_Focus/Automated/Oracle_Focus_Rework/Lw/setLWRequestStatusTest/setLWRequestStatusTest.html any any
RULE AWT_Focus/Automated/Oracle_Focus_Rework/Swing/setLWRequestStatusTest/setLWRequestStatusTest.html any any