changeset 1059:04b368454df3

6815946: regression: failed to build MToolkit Reviewed-by: anthony
author ant
date Wed, 11 Mar 2009 16:11:31 +0300
parents 4dc625187820
children 6df5f5fb5174
files src/share/classes/sun/awt/AWTAccessor.java src/solaris/classes/sun/awt/motif/MToolkit.java
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/awt/AWTAccessor.java	Tue Mar 10 18:33:29 2009 +0300
+++ b/src/share/classes/sun/awt/AWTAccessor.java	Wed Mar 11 16:11:31 2009 +0300
@@ -161,7 +161,7 @@
     }
 
     /*
-     * An interface of accessor for the java.awt.Component class.
+     * An interface of accessor for the java.awt.KeyboardFocusManager class.
      */
     public interface KeyboardFocusManagerAccessor {
         /*
--- a/src/solaris/classes/sun/awt/motif/MToolkit.java	Tue Mar 10 18:33:29 2009 +0300
+++ b/src/solaris/classes/sun/awt/motif/MToolkit.java	Wed Mar 11 16:11:31 2009 +0300
@@ -336,6 +336,10 @@
         return null;
     }
 
+    public KeyboardFocusManagerPeer createKeyboardFocusManagerPeer(KeyboardFocusManager manager) {
+        return null;
+    }
+
     //public MEmbeddedFramePeer createEmbeddedFrame(MEmbeddedFrame target)
     //{
         //MEmbeddedFramePeer peer = new MEmbeddedFramePeer(target);