[macosx] Compile warnings in CDropTarget.m

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 9
    • Affects Version/s: 8
    • Component/s: client-libs
    • Environment:

      Mac

      When building JDK the CDropTarget.m produces the following warning:

      /ws/8-2-dndInterprocInterop-RT-34283/jdk/src/macosx/native/sun/awt/CDropTarget.m: In function '-[CDropTarget init:component:peer:control:]':
      /ws/8-2-dndInterprocInterop-RT-34283/jdk/src/macosx/native/sun/awt/CDropTarget.m:85: warning: 'NSView' may not respond to '-setDropTarget:'
      /ws/8-2-dndInterprocInterop-RT-34283/jdk/src/macosx/native/sun/awt/CDropTarget.m:85: warning: (Messages without a matching method signature
      /ws/8-2-dndInterprocInterop-RT-34283/jdk/src/macosx/native/sun/awt/CDropTarget.m:85: warning: will be assumed to return 'id' and accept
      /ws/8-2-dndInterprocInterop-RT-34283/jdk/src/macosx/native/sun/awt/CDropTarget.m:85: warning: '...' as arguments.)

            Assignee:
            Sergey Bylokhov
            Reporter:
            Anthony Petrov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: