--- 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."];
}
}
}