On Mon, 25 Nov 2024 16:31:11 GMT, Alexander Zvegintsev <azveg...@openjdk.org> wrote:
> A few places that probably need some attention: > > `./src/java.desktop/share/classes/java/awt/Composite.java:60: * to a screen > device is governed by the {@code readDisplayPixels}` If you take a look at https://github.com/openjdk/jdk/pull/22338/files you will see this text is being addressed there. > > doc update: > > ``` > `./src/java.desktop/share/classes/java/awt/doc-files/Modality.html:338: > A special <code>AWTPermission</code>, <code>"toolkitModality"</code>,` > > <p> > A special <code>AWTPermission</code>, <code>"toolkitModality"</code>, > is required to show toolkit-modal > dialogs. This would prevent, for example, blocking a browser or > Java Web Start (JWS) by modal dialogs shown from applets. > </p><p> > The same permission is required to exclude a window from toolkit > modality. > This would prevent, for example, a dialog shown from an applet not to be > blocked by a browser's or JWS's modal dialog. > ``` thanks for reminding me about these doc-files. I've been meaning to check them. Since those files are likely specification I'll add that to the upcoming fix to deprecate AWTPermission since I can bundle into the CSR for that. not here. > ``` > ./test/jdk/lib/client/ExtendedRobot.java:71: * @throws SecurityException > if {@code createRobot} permission is not granted > ./test/jdk/lib/client/ExtendedRobot.java:75: * @see > java.awt.AWTPermission > ./test/jdk/lib/client/ExtendedRobot.java:102: * @throws > SecurityException if {@code createRobot} permission is not granted > ./test/jdk/lib/client/ExtendedRobot.java:107: * @see > java.awt.AWTPermission > ``` I guess I could do that. No spec. issue around that. ------------- PR Comment: https://git.openjdk.org/jdk/pull/22350#issuecomment-2499042052