JDK-4908028 : Regression java/awt/FontClass/NegativeAngleTest/NegativeAngleTest.java failed.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 1.4.2,5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: linux,linux_redhat_8.0,solaris_8
  • CPU: x86
  • Submitted: 2003-08-18
  • Updated: 2004-12-08
  • Resolved: 2003-09-29
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.
Related Reports
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
JDK: Tiger jdk1.5.0 b15
OS : RedHat 9.0(eucJP)
Regression tes case: test/java/awt/FontClass/NegativeAngleTest/NegativeAngleTest.java

Regression test case NegativeAngleTest.java is failing with error as below;
java: ../../../src/share/native/sun/font/t2k/t1.c:2185: tsi_T1GetGlyphIndexFromAdobeCode: Assertion `0' failed.
core file was created.

This problem starts from b15, it worked fine in b14 and Mantis fcs b28.
This problem is not seen in Solaris and Windows.

Step to reproduce;
1. compile NegativeAngleTest.java(attached)
2. launch
% java NegativeAngleTest.java

Then, you can see this problem.

** NOTE **
The machine I tested is intalled RH9 patch as below;
rpm -i --replacefiles /java/jdk/linux/ws/redhat9/libc_hack.rpm

NegativeAngleTest.java is under java/awt dir, so I filed Category/Subcategry as a java/classes_awt.
If these are not properly, please change them. 

[###@###.### 2003-08-18]


With b18 and b19, the same occurred on a new configuration Redhat Advanced Server 3.0 (Itanium 2) :
on "encarta" Red Hat Enterprise Linux release 2.9.5AS,
Kernel 2.4.21-1.1931.2.399.ent on an ia64
before b16, it simply let you log out instead of giving the error message below.

It didn't occurr on "clie" Red Hat Linux Advanced Server release 2.1 AS
Kernel 2.4.18-e.12smp on an ia64. (tested with b18)

[...@encarta Font2DTest]# /.../keiko/j2sdk1.5.0/bin/java -jar Font2DTest.jar
java: ../../../src/share/native/sun/font/t2k/t1.c:2185: tsi_T1GetGlyphIndexFromAdobeCode: Assertion `0' failed.

###@###.### 2003-09-15

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b22 VERIFIED IN: tiger

EVALUATION Actually, this test is under /java/awt/FontClass which belongs to 2D. ###@###.### 2003-08-18 =================================== This is identical assert to 4904643 :PIT: 2DPrinting Suite - PrintFont_2D test fails when rendering fonts on RH 8.0 and this is probably the better bug since its a much simpler test case and the bug has nothing to do with printing. ###@###.### 2003-08-21 =========================== Name: inR10103 Date: 09/09/2003 The crash here is caused by assertion while trying to process Type1 accented character. Type1 font uses own character codes to build such characters and we need to map them into Unicode. Assertion fails if we do not have defined mapping. Proposed solution is to extend set of supported mappings and do not crash if mapping is not properly defined (map to 0x0000 unicode). BTW, it should be reproducible with older builds - there were not any relevant changes and the only reason i can imagine is that fonts (which use undefined codes) were recently installed. ======================================================================