Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6668794
Votes 0
Synopsis javac puts localized text in raw diagnostics
Category java:compiler
Reported Against
Release Fixed 7(b25)
State 10-Fix Delivered, request for enhancement
Priority: 3-Medium
Related Bugs 6668796
Submit Date 28-FEB-2008
Description
javac provides an undocumented feature for writing diagnostics in a locale-independent format for the benefit of regression tests which need to check for error messages.

Some diagnostics, notably those based on CompletionFailure, include localized text in the arguments for the diagnostic.  This makes it hard to write locale-independent tests for such diagnostics.
Posted Date : 2008-02-28 02:19:09.0
Work Around
N/A
Evaluation
Replace use of locallized strings by JCDiagnostic fragments to encapsulate message key and its arguments for enclosing diagnostic
Posted Date : 2008-03-12 20:07:36.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang