Skip to content

Commit d296708

Browse files
committed
8253606: Need to add missed constructor to the SwingEventMonitor
Reviewed-by: jdv, pbansal, prr
1 parent 5810238 commit d296708

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/jdk.accessibility/share/classes/com/sun/java/accessibility/util/SwingEventMonitor.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@
5858
*/
5959
public class SwingEventMonitor extends AWTEventMonitor {
6060

61-
/**
62-
* Constructs a {@code SwingEventMonitor}.
63-
*/
64-
6561
/**
6662
* The master list of all listeners registered by other classes.
6763
* This can only be publicly modified by calling the add or
@@ -77,6 +73,11 @@ public class SwingEventMonitor extends AWTEventMonitor {
7773
*/
7874
static private final SwingEventListener swingListener = new SwingEventListener();
7975

76+
/**
77+
* Constructs a {@code SwingEventMonitor}.
78+
*/
79+
public SwingEventMonitor() {}
80+
8081
/**
8182
* Adds the specified listener to receive all {@link EventID#ANCESTOR ANCESTOR}
8283
* events on each component instance in the Java Virtual Machine as they occur.

0 commit comments

Comments
 (0)