Font constructor public Font(FontObject fontObject) invalid

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P2
    • None
    • Affects Version/s: 1.2.0
    • Component/s: client-libs
    • 2d
    • x86
    • windows_nt



      Name: ccC48265 Date: 12/27/97


      sun.awt.font.FontObject is not public and cannot be passed
      as an argument to the public constructor.

      Font(FontObject fontObject)

      This constructor should be removed from the api.

      Clarification:
      -------------
      The issue is not so much that FontObject is public or not, but rather
      that it is being used in a method call that the general java user base
      would be using and it should not be. As I understand it, developers
      should never be using classes (even public ones) in the sun.awt.* group.
      And so this bug is not so much a bug but a failure to meet the specs if
      you understand what I mean.

      (Review ID: 22231)
      ======================================================================

            Assignee:
            Jeet Kaul (Inactive)
            Reporter:
            Claudette Cresswell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: