Hello, please review the fix
http://cr.openjdk.java.net/~azvegint/jdk/9/8167565/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8167565We trying to zoom to a zero size window(standardFrame has zero size). standardFrame initialization happens on setMaximizedBounds call. Dialog doesn't initialize it(Frames has setMaximizedBounds() call in Frame.addNotify). I prefer to fix it in the native level, if you have other thoughts please share it.
-- Thanks, Alexander.