Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4424815

DragSourceDragEvent.getGestureModifiers() not returning correct value on solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • client-libs
    • beta
    • generic
    • generic
    • Verified

      According to changes made to method DragSourceDragEvent.getGestureModifiers(), to test a particular modifier, one should compare the entire composition against the single mask value i.e there should be bitwise-AND of the composition with the mask value and see if the result is non-zero((getGestureModifiers() & InputEvent.BUTTON1_MASK) != 0),but it is coming equal to zero on solaris(both sparc & IA) be it solaris 6,7 or solaris8 while it is working fine on all windows platforms.
      Download the attached tar file & run the TextDnD.java file & if u find
      jitender: 0 DragSourceDragEvent.getGesturesModifiers() = FAIL displayed on ur screen than the bug is reproduced.
      jitender.singh@eng 2001-03-23

            dmendenhsunw David Mendenhall (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: