6829326: Getting java.lang.NullPointerException: null pData while opening a File,Print,Page Dialog in Win
Reviewed-by: art, yan
--- a/jdk/src/windows/classes/sun/awt/windows/WFileDialogPeer.java Wed Apr 01 19:05:47 2009 +0400
+++ b/jdk/src/windows/classes/sun/awt/windows/WFileDialogPeer.java Mon Apr 13 15:22:12 2009 +0400
@@ -225,6 +225,7 @@
public void addDropTarget(DropTarget dt) {}
public void removeDropTarget(DropTarget dt) {}
public void updateFocusableWindowState() {}
+ public void setZOrder(ComponentPeer above) {}
/**
* Initialize JNI field and method ids
--- a/jdk/src/windows/classes/sun/awt/windows/WPrintDialogPeer.java Wed Apr 01 19:05:47 2009 +0400
+++ b/jdk/src/windows/classes/sun/awt/windows/WPrintDialogPeer.java Mon Apr 13 15:22:12 2009 +0400
@@ -27,6 +27,7 @@
import java.awt.*;
import java.awt.peer.DialogPeer;
+import java.awt.peer.ComponentPeer;
import java.awt.dnd.DropTarget;
import java.util.Vector;
import sun.awt.AppContext;
@@ -137,6 +138,7 @@
void invalidate(int x, int y, int width, int height) {}
public void addDropTarget(DropTarget dt) {}
public void removeDropTarget(DropTarget dt) {}
+ public void setZOrder(ComponentPeer above) {}
/**
* Initialize JNI field and method ids