JDK-6821348 : TEST_BUG: java/awt/font/LocaleTests/Umlauts.java fails on 6u14b03_j4b and pass on 6u14b02_j4b
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 6u14
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10
  • CPU: itanium
  • Submitted: 2009-03-24
  • Updated: 2012-08-06
  • Resolved: 2010-07-01
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.
JDK 6
6u21 b05Fixed
Related Reports
Relates :  
Relates :  
Description
regression test suite for 160u14b03_j4b
platform os: amd64 solaris10 
key: -server -d64
bit: 64

test: java/awt/font/LocaleTests/Umlauts.java
with header:

/**
 * @test
 * @summary REGRESSION:classes_2Dtext kerning problem
 * @bug 4757736
 * @author Igor Nekrestyanov
 * @run main Umlauts
 */

test fails on 6u14b03_j4b but passes on 6u14b02_j4b on the same machine, It's REGRESSION
reproducable on stt-41.russia

[stt-robot@stt-41]$ pwd
/export/JQA/regression/6u14b03/tests

For 6u14b03_j4b:
[stt-robot@stt-41]$ /export/jdk/6u14b03/jdk1.6.0_14/bin/javac -server -d64 Umlauts.java
Note: Umlauts.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
[stt-robot@stt-41]$ /export/jdk/6u14b03/jdk1.6.0_14/bin/java -server -d64 Umlauts
DotX=2 min=2
Exception in thread "main" java.lang.RuntimeException: Test failed
        at Umlauts.main(Umlauts.java:110)

For 6u14b02_j4b:
[stt-robot@stt-41]$ /export/jdk/6u14b02/jdk1.6.0_14/bin/javac -server -d64 Umlauts.java
Note: Umlauts.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
[stt-robot@stt-41]$ /export/jdk/6u14b02/jdk1.6.0_14/bin/java -server -d64 Umlauts
DotX=5 min=3
Test is ok

Comments
EVALUATION Due to 6797728 hints are now off in both FM and AA are set. Therefore umlaut is shifted by a fraction, presumably because the hints were doing some adjustment. This is intended change and not regression per se. Therefore we need to update test. In this particular case we can remove one of AA or FM hints. Note that we might also need to update test/golden images for 4322332 if we have them.
24-03-2009