From 44b81e08136db9ca16fba2dda85f1b9eb68ee6f0 Mon Sep 17 00:00:00 2001 From: serb Date: Wed, 23 Oct 2013 16:24:50 +0400 Subject: [PATCH] 8020851: java.awt.event.WindowEvent spec should state that WINDOW_CLOSED event may not be delivered under certain circumstances Reviewed-by: anthony, art --- src/share/classes/java/awt/event/WindowEvent.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/share/classes/java/awt/event/WindowEvent.java b/src/share/classes/java/awt/event/WindowEvent.java index ef5082937..6750805a9 100644 --- a/src/share/classes/java/awt/event/WindowEvent.java +++ b/src/share/classes/java/awt/event/WindowEvent.java @@ -79,8 +79,10 @@ public class WindowEvent extends ComponentEvent { @Native public static final int WINDOW_CLOSING = 1 + WINDOW_FIRST; //Event.WINDOW_DESTROY /** - * The window closed event. This event is delivered after - * the window has been closed as the result of a call to dispose. + * The window closed event. This event is delivered after the displayable + * window has been closed as the result of a call to dispose. + * @see java.awt.Component#isDisplayable + * @see Window#dispose */ @Native public static final int WINDOW_CLOSED = 2 + WINDOW_FIRST; -- GitLab