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

spec for java.awt.Graphics.setClip(Shape) method is incomplete

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Not an Issue
    • Affects Version/s: 1.0, 1.4.0
    • Fix Version/s: None
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
      2d
    • Introduced In Version:
      1.1
    • CPU:
      sparc
    • OS:
      solaris_2.6, solaris_7

      Description

      Name: bkR10101 Date: 11/12/2001



      Specification for
       public abstract void setClip(Shape clip)
      method states: "Not all objects that implement the Shape interface can be
      used to set the clip"
      but in the same time it says nothing about the criterion to determine
      if an object can be used to set the clip. If there is no such a criterion i.e.
      the object must be Rectangle, why the type of parameter is Shape?

      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bbksunw Bbk Bbk (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: