JDK-6258117 : Regression test MappingtTest.java fails on all platforms with Mustang
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-04-20
  • Updated: 2010-04-02
  • Resolved: 2005-04-20
Related Reports
Duplicate :  
Description
Regression test MappingtTest.java failing on all platforms with Mustang

- The regression test has been failing for several builds on SQE Nightly Regression Test Bed.

- Fails with recent promoted build 1.6.0-b32

- Test fails with compilation error

Regression Test
===============
test/java/awt/font/LogicalFonts/MappingtTest.java

Errors
======
$JAVA_HOME/bin/javac MappingTest.java
MappingTest.java:35: package sun.io does not exist
import sun.io.CharacterEncoding;
             ^
MappingTest.java:433: cannot find symbol
symbol  : variable CharacterEncoding
location: class MappingTest
        String encoding = CharacterEncoding.aliasName(suffixes[ENCODING]);
                          ^
Note: MappingTest.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

###@###.### 2005-04-20 01:06:30 GMT