Upgrading to Java 1.5
- javac complained about non-ascii characters, even in comments. For example, we had a copyright character that seemed to trip up the compiler. We replaced the offending character with "(C)" as normal ASCII characters.
- "enum" is now a reserved word. We needed to rename all identifiers that were "enum" to something else.
- We added "<compilerarg value="-Xlint:unchecked"/>" to avoid a compiler warning. This surfaced hundreds of recommendations that we use the < String , String > syntax for add(), put() and declarations involving arrays and collections.
|Copyright © 2000, 2003, Ray Ontko & Co.||Last updated: Tuesday, February 27, 2007|