logo       

FYI: encoding alias patch committed: msg#00196

java.classpath.patches

Subject: FYI: encoding alias patch committed

Hi,

I committed my encoding alias patch to make the aliases case-insenstive.
I decided to retain compatibility with existing aliases defined by
startup scripts by first looking for an exact match before doing to
lowercase conversion. This way there shouldn't be any compatibility
problems and we still get the benefit of case insensitivity for the
built in aliases.

Regards,
Jeroen

2005-03-29 Jeroen Frijters <jeroen@xxxxxxxxxxxx>

* gnu/classpath/SystemProperties.java (static): Converted
encoding
aliases to lower case and removed redudant aliases.
* gnu/java/io/EncodingManager.java
(findEncoderConstructor, findDecoderConstructor): Call new
method
resolveAlias().
(resolveAlias): New method.
* java/lang/System.java (getProperties): Removed uppercase
aliases
from comments.

Attachment: encoding-alias.patch.txt
Description: encoding-alias.patch.txt

_______________________________________________
Classpath-patches mailing list
Classpath-patches@xxxxxxx
http://lists.gnu.org/mailman/listinfo/classpath-patches
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise