From 02dc95e6b99e5998b028e90c3fe9c64ad9f47d9e Mon Sep 17 00:00:00 2001 From: Alexander Zvegintsev Date: Thu, 18 May 2023 18:51:46 +0000 Subject: [PATCH] 8308370: Fix build failures related to the java.awt.Robot documentation Reviewed-by: dcubed --- src/java.desktop/share/classes/java/awt/Robot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java.desktop/share/classes/java/awt/Robot.java b/src/java.desktop/share/classes/java/awt/Robot.java index 13b912017a2..2054954fee3 100644 --- a/src/java.desktop/share/classes/java/awt/Robot.java +++ b/src/java.desktop/share/classes/java/awt/Robot.java @@ -430,7 +430,7 @@ public class Robot { * to capture screen content, and the required permissions are not granted, * then a {@code SecurityException} may be thrown, * or the content of the returned {@code Color} is undefined. - *

+ *

* @apiNote It is recommended to avoid calling this method on * the AWT Event Dispatch Thread since screen capture may be a lengthy * operation, particularly if acquiring permissions is needed and involves @@ -457,7 +457,7 @@ public class Robot { * to capture screen content, and the required permissions are not granted, * then a {@code SecurityException} may be thrown, * or the contents of the returned {@code BufferedImage} are undefined. - *

+ *

* @apiNote It is recommended to avoid calling this method on * the AWT Event Dispatch Thread since screen capture may be a lengthy * operation, particularly if acquiring permissions is needed and involves