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

spec for ctor public RenderingHints(RenderingHints.Key,Object)

XMLWordPrintable

    • 2d
    • generic
    • generic

      Name: vi140966 Date: 08/10/2004


      The specification of constructor public
      RenderingHints(RenderingHints.Key key, java.lang.Object value)
      allows to set values which are not appropriate for the specified key.
      However other methods (put,putAll) don't permit
      such operations. So it is possible to make object with
      pair RenderingHints.KEY_ALPHA_INTERPOLATION, "Any string" for example.
      And the get method retrieve this incorrect value "Any string" for the
      key RenderingHints.KEY_ALPHA_INTERPOLATION.
      This is inconsistency with the specification for put methods.

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

            Unassigned Unassigned
            visaenko Vasily Isaenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: