mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 04:24:49 +02:00
6829326: Getting java.lang.NullPointerException: null pData while opening a File,Print,Page Dialog in Win
Reviewed-by: art, yan
This commit is contained in:
parent
0a24bf67c2
commit
29e370d911
2 changed files with 3 additions and 0 deletions
|
@ -225,6 +225,7 @@ public class WFileDialogPeer extends WWindowPeer implements FileDialogPeer {
|
||||||
public void addDropTarget(DropTarget dt) {}
|
public void addDropTarget(DropTarget dt) {}
|
||||||
public void removeDropTarget(DropTarget dt) {}
|
public void removeDropTarget(DropTarget dt) {}
|
||||||
public void updateFocusableWindowState() {}
|
public void updateFocusableWindowState() {}
|
||||||
|
public void setZOrder(ComponentPeer above) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize JNI field and method ids
|
* Initialize JNI field and method ids
|
||||||
|
|
|
@ -27,6 +27,7 @@ package sun.awt.windows;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
import java.awt.peer.DialogPeer;
|
import java.awt.peer.DialogPeer;
|
||||||
|
import java.awt.peer.ComponentPeer;
|
||||||
import java.awt.dnd.DropTarget;
|
import java.awt.dnd.DropTarget;
|
||||||
import java.util.Vector;
|
import java.util.Vector;
|
||||||
import sun.awt.AppContext;
|
import sun.awt.AppContext;
|
||||||
|
@ -137,6 +138,7 @@ public class WPrintDialogPeer extends WWindowPeer implements DialogPeer {
|
||||||
void invalidate(int x, int y, int width, int height) {}
|
void invalidate(int x, int y, int width, int height) {}
|
||||||
public void addDropTarget(DropTarget dt) {}
|
public void addDropTarget(DropTarget dt) {}
|
||||||
public void removeDropTarget(DropTarget dt) {}
|
public void removeDropTarget(DropTarget dt) {}
|
||||||
|
public void setZOrder(ComponentPeer above) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialize JNI field and method ids
|
* Initialize JNI field and method ids
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue