--- a/jdk/src/share/classes/java/awt/Dialog.java Fri Dec 07 22:49:08 2012 +0400
+++ b/jdk/src/share/classes/java/awt/Dialog.java Wed Dec 12 21:08:19 2012 +0400
@@ -1638,12 +1638,13 @@
if (localModalityType == null) {
this.modal = fields.get("modal", false);
setModal(modal);
+ } else {
+ this.modalityType = localModalityType;
}
this.resizable = fields.get("resizable", true);
this.undecorated = fields.get("undecorated", false);
this.title = (String)fields.get("title", "");
- this.modalityType = localModalityType;
blockedWindows = new IdentityArrayList<>();