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

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

    Details

    • Subcomponent:
      2d
    • CPU:
      generic
    • OS:
      generic

      Description

      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.

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

        Attachments

          Activity

            People

            • Assignee:
              serb Sergey Bylokhov
              Reporter:
              visaenko Vasily Isaenko
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: