JDK-6243783 : nightly: java/awt/font/LogicalFonts/MappingTest.java Compilation failed
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt:i18n
  • Affected Version: 6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-03-21
  • Updated: 2010-04-02
  • Resolved: 2005-04-25
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
6 b34Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
nightly build: i18n-awt-blade-2005-03-20-int.mustang
test failed: java/awt/font/LogicalFonts/MappingTest.java Compilation failed The following error messages are thrown:

command: compile /net/sqesvr-nfs.sfbay/global/nfs/test_run/i18n-dtf/knight_ws/suites/i18n_reg_60/test/java/awt/font/LogicalFonts/MappingTest.java 
reason: User specified action: run compile MappingTest.java 
elapsed time (seconds): 4.625
----------System.out:(0/0)----------
----------System.err:(11/764)----------
/net/sqesvr-nfs.sfbay/global/nfs/test_run/i18n-dtf/knight_ws/suites/i18n_reg_60/test/java/awt/font/LogicalFonts/MappingTest.java:35: package sun.io does not exist
import sun.io.CharacterEncoding;
             ^
/net/sqesvr-nfs.sfbay/global/nfs/test_run/i18n-dtf/knight_ws/suites/i18n_reg_60/test/java/awt/font/LogicalFonts/MappingTest.java:433: cannot find symbol
symbol  : variable CharacterEncoding
location: class MappingTest
        String encoding = CharacterEncoding.aliasName(suffixes[ENCODING]);
                          ^
Note: /net/sqesvr-nfs.sfbay/global/nfs/test_run/i18n-dtf/knight_ws/suites/i18n_reg_60/test/java/awt/font/LogicalFonts/MappingTest.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors
result: Failed. Compilation failed
======================================================================
The log can be found at
http://sqeweb.sfbay/i18n/nightly-results/mustang/i18n_reg_60-i18n_Reg_Sol_10_ar-en-2005-03-20-03-15-33-0231/failed.html

The test failed compiling in all platforms.

Please reassign to an appropriate subcategory if classes_util_i18n is not correct.
###@###.### 2005-03-21 20:30:10 GMT

Comments
EVALUATION Hi. I don't think the workspace is up to date. Could you please update the workspace and try it again? There is no such compilation error in my workspace, which did the bringover about a weekago. I'm changing the status to closed as I cannot reproduce the problem. However, if the problem still exists after updating your workspace, could you please reopen this CR? Thanks. ###@###.### 2005-03-21 21:49:00 GMT sun.io was removed from the JRE with the T&L integration last Friday under bug 6237353, but this regression test was not updated. The use of the file.encoding property and CharacterEncoding.aliasName need to be replaced with a call to Charset.defaultCharset, and the mapping files need to be renamed. ###@###.### 2005-03-21 23:50:05 GMT
21-03-2005