jdk/src/macosx/native/sun/awt/CDragSource.m
changeset 23652 11515e3c3f85
parent 23651 e41298d0da2f
equal deleted inserted replaced
23651:e41298d0da2f 23652:11515e3c3f85
   309                 if ([type hasPrefix:@"JAVA_DATAFLAVOR:application/x-java-jvm-local-objectref;"] == false) {
   309                 if ([type hasPrefix:@"JAVA_DATAFLAVOR:application/x-java-jvm-local-objectref;"] == false) {
   310                     [pbTypes addObject:type];
   310                     [pbTypes addObject:type];
   311 
   311 
   312                     // This is a good approximation if not perfect. A conclusive search would
   312                     // This is a good approximation if not perfect. A conclusive search would
   313                     // have to be done matching all defined strings in AppKit's commonStrings.h.
   313                     // have to be done matching all defined strings in AppKit's commonStrings.h.
   314                     if ([type hasPrefix:@"NS"] || [type hasPrefix:@"NeXT"])
   314                     hasNSTypeData = [type hasPrefix:@"NS"] || [type hasPrefix:@"NeXT"] || [type hasPrefix:@"public."];
   315                         hasNSTypeData = true;
       
   316                 }
   315                 }
   317             }
   316             }
   318         }
   317         }
   319     }
   318     }
   320 
   319