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

Misleading spec for Font.getFont(Map)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 5.0
    • client-libs
    • None
    • 2d
    • b33
    • sparc
    • solaris_8

      The purpose of Font.getFont(Map) is obviously to provide caching of Font
      instances. However, the spec doesn't say anything about that. Not only that,
      but it states that this method returns "a *new* Font created with the specified
      attributes", which is misleading.

      ###@###.### 2004-09-14

            dougfelt Doug Felt
            savzan Stanislav Avzan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: