[Biojava-dev] J2SE 1.5

Russell Smithies russell.smithies at xtra.co.nz
Mon May 26 11:44:08 EDT 2003


The beta release of J2SE 1.5 is scheduled for late 2003.  The improvements
to J2SE being developed in project "Tiger" are intended to make programs
clearer, shorter, safer, and easier to develop, without sacrificing
compatibility. Java 1.5 will shift the responsibility for writing the
boilerplate code from the programmer to the compiler...
Example:

Instead of writing
String title = ((String) words.get(i)).toUppercase();

you will do like this:

String title = words.get(i).toUppercase();
and it will decrease the number of compile errors. Compiler will try to cast
to String without saying it explicitly.

More about all coming changes you can read in this excellent article:
"New Language Features for Ease of Development in the Java 2 Platform,
Standard Edition 1.5: A Conversation with Joshua Bloch" on:
http://java.sun.com/features/2003/05/bloch_qa.html





More information about the biojava-dev mailing list