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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.2.0
    • Component/s: docs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.2fcs
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description


      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: