jdk/src/macosx/native/sun/awt/CDragSource.m
changeset 23652 11515e3c3f85
parent 23651 e41298d0da2f
--- a/jdk/src/macosx/native/sun/awt/CDragSource.m	Fri Mar 14 16:01:04 2014 +0400
+++ b/jdk/src/macosx/native/sun/awt/CDragSource.m	Fri Mar 14 17:48:28 2014 +0400
@@ -311,8 +311,7 @@
 
                     // This is a good approximation if not perfect. A conclusive search would
                     // have to be done matching all defined strings in AppKit's commonStrings.h.
-                    if ([type hasPrefix:@"NS"] || [type hasPrefix:@"NeXT"])
-                        hasNSTypeData = true;
+                    hasNSTypeData = [type hasPrefix:@"NS"] || [type hasPrefix:@"NeXT"] || [type hasPrefix:@"public."];
                 }
             }
         }