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

Component spec: behavior of getCursor()/setCursor() not specifed for null cursor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.2.0
    • 1.2.0
    • docs
    • 1.2fcs
    • generic
    • generic
    • Verified


      The Component spec does not say anything about the expected behavior of
      getCursor() and setCursor() if null is provided as the value of the
      'cursor' input parameter to setCursor().

      null is an acceptable value for the 'cursor' parameter (ie,
      a NullPointerException is not thrown) in the case of setCursor(); this should
      be clearly stated in the spec, and the expected behavior in this situation should be specified.
      Also, it should be specified that getCursor() returns null if there is
      no cursor set on the component.

            dgreensunw Dale Green (Inactive)
            gaurisha Gauri Sharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: