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

Font constructor public Font(FontObject fontObject) invalid

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P2 P2
    • None
    • 1.2.0
    • 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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: