jdk/src/macosx/native/sun/awt/CDropTargetContextPeer.m
changeset 17899 d3a864bdee7d
parent 12047 320a714614e9
child 23010 6dadb192ad81
equal deleted inserted replaced
17898:f47410f6015c 17899:d3a864bdee7d
    59  * Signature: (JJ)J
    59  * Signature: (JJ)J
    60  */
    60  */
    61 JNIEXPORT jlong JNICALL Java_sun_lwawt_macosx_CDropTargetContextPeer_startTransfer
    61 JNIEXPORT jlong JNICALL Java_sun_lwawt_macosx_CDropTargetContextPeer_startTransfer
    62   (JNIEnv *env, jobject jthis, jlong jdroptarget, jlong jformat)
    62   (JNIEnv *env, jobject jthis, jlong jdroptarget, jlong jformat)
    63 {
    63 {
    64     AWT_ASSERT_NOT_APPKIT_THREAD;
       
    65 
    64 
    66     jlong result = (jlong) 0L;
    65     jlong result = (jlong) 0L;
    67 
    66 
    68     // Currently startTransfer and endTransfer are synchronous since [CDropTarget copyDraggingDataForFormat]
    67     // Currently startTransfer and endTransfer are synchronous since [CDropTarget copyDraggingDataForFormat]
    69     // works off a data copy and doesn't have to go to the native event thread to get the data.
    68     // works off a data copy and doesn't have to go to the native event thread to get the data.