JDK-5070518 : /api/javax_swing/SwingUtilities/descriptions.html fails for JCK14a, 1.4.2_06b1
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2004-07-01
  • Updated: 2004-08-17
  • Resolved: 2004-08-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
1.4.2_06 06Fixed
Related Reports
Relates :  
 OS: Solaris 10 Sparc (build 62)

 JDK: 1.4.2_06b1

///net/latte/export/home4/jck/JCK-runtime-14a/tests/api/javax_swing/SwingUtilities/descriptions.html#other testcase fails with an assertion failure :

Assertion failed: p != NULL, file ../../../src/share/native/sun/awt/font/t2k/t1.c, line 1974

Seen also with 1.4.2_05 FCS.

command: com.sun.jck.lib.ExecJCKTestOtherJVMCmd CLASSPATH=/net/latte/export/home4/jck/JCK-runtime-14a/classes LD_LIBRARY_PAT
H=/net/latte.ireland/export/home4/jck/JCK-runtime-14a/lib/sparc DISPLAY=club:0.0 HOME=/home/sc87771 //export/home/j2sdk1.4.2
_06/bin/java -Djava.awt.headless=false -Xfuture -Djava.security.policy=/net/latte/export/home4/jck/JCK-runtime-14a/lib/jck.p
olicy javasoft.sqe.tests.api.javax.swing.SwingUtilities.otherTests -TestCaseID ALL
Assertion failed: p != NULL, file ../../../src/share/native/sun/awt/font/t2k/t1.c, line 1974
result: Failed. unexpected exit code: exit code 6

test result: Failed. unexpected exit code: exit code 6

###@###.### 2004-07-01

This test passed for 1.4.2_05b2 on solaris 10 build 52/53
Looks like build 62 (or earlier) has broken this testcase.

testcase also fails now with 1.4.2_05b2 on build62

testcase passes for tiger-beta3.
###@###.### 2004-07-01

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.2_06 generic FIXED IN: 1.4.2_06 INTEGRATED IN: 1.4.2_06

EVALUATION setenv JAVA2D_DEBUGFONTS 1 ..... opened font file /usr/sfw/share/a2ps/fonts/pcfont.pfa fd=12 Assertion failed: p != NULL, file ../../../src/share/native/sun/awt/font/t2k/t1.c, line 1976 Abort We see that the offending font is: /usr/sfw/share/a2ps/fonts/pcfont.pfa pcfont.pfa - Type 3 font providing support for line drawing PC encoding. This is a new font in Sol 10 , at least over Sol 9. ###@###.### 2004-07-02 ========================================= Sun's Java 2 Runtime Environment supports TrueType and PostScript Type 1 fonts. pcfont.pfa is Type 3 but is being picked up by java because it is installed on the system and has extension pfa. From /var/sadm/install/contents: /usr/sfw/share/a2ps/fonts/pcfont.pfa f none 0444 root bin 19263 12256 1087545085 SUNWa2psu club : pkginfo -l SUNWa2psu PKGINST: SUNWa2psu NAME: a2ps - GNU Any to PostScript filter (user) CATEGORY: system ARCH: sparc VERSION: 11.10.0,REV=2004. BASEDIR: / VENDOR: Sun Microsystems, Inc. DESC: a2ps - GNU Any to PostScript filter (user) 4.13 PSTAMP: sfw1020040618012738 INSTDATE: Jun 29 2004 14:01 HOTLINE: Please contact your local service provider STATUS: completely installed FILES: 335 installed pathnames 16 shared pathnames 56 directories 10 executables 12435 blocks used (approx) Java makes the assumption that extension pfa is Type 1. In this case this is not true. I am uncertain if extension pfa is reserved for Type 1 fonts. If this is the case then the font needs to be renamed. Reassigning to classes_2D so that this bug shows up on the correct product list. ###@###.### 2004-07-16 ========================================

WORK AROUND setenv JAVA_FONTS /usr/openwin/lib/X11/fonts/TrueType ###@###.### 2004-07-02