JDK-4101445 : Font constructor public Font(FontObject fontObject) invalid
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.2.0
  • Priority: P2
  • Status: Closed
  • Resolution: Won't Fix
  • OS: windows_nt
  • CPU: x86
  • Submitted: 1997-12-27
  • Updated: 1998-05-06
  • Resolved: 1998-05-06
Related Reports
Relates :  
Description

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)
======================================================================

Comments
EVALUATION This bug should be a lower priority to be fixed for beta4. This is a leftover from old text architecture. This should be removed as soon as new architecture for text has been fully tested. obsolete API paul.charlton@eng 1998-05-06
06-05-1998

PUBLIC COMMENTS obsolete API --- see RFE 4130437 paul.charlton@eng 1998-05-06
06-05-1998