Java 1.5 language changes

M

Mike Schilling

I'm starting to plan upgrading some tools I have for analyzing Java source
files to work with 1.5 [1] I've started a list of language changes, and
come up with the following

* generics, of course
* annotations
* autoboxing
* covariant return types
* enums
* foreach
* static import
* variable-length argument lists

Lots of library changes as well, but this list contains only language syntax
changes. Have I left anything out?

1. Yeah, I know, but people update their webapp containers slowly, so it's
only now feasible to start developing our product with 1.5, and not yet with
1.6.
 
A

Arne Vajhøj

Mike said:
I'm starting to plan upgrading some tools I have for analyzing Java source
files to work with 1.5 [1] I've started a list of language changes, and
come up with the following

* generics, of course
* annotations
* autoboxing
* covariant return types
* enums
* foreach
* static import
* variable-length argument lists

Lots of library changes as well, but this list contains only language syntax
changes. Have I left anything out?

It looks complete to me.

Arne
 
R

Roedy Green

Lots of library changes as well, but this list contains only language syntax
changes. Have I left anything out?

see http://mindprod.com/jgloss/jdk.html#DIFFERENCES
--
Roedy Green Canadian Mind Products
http://mindprod.com

"For reason that have a lot to do with US Government bureaucracy, we settled on the one issue everyone could agree on, which was weapons of mass destruction."
~ Paul Wolfowitz 2003-06, explaining how the Bush administration sold the Iraq war to a gullible public.
 
J

Joshua Cranmer

Mike said:
I'm starting to plan upgrading some tools I have for analyzing Java source
files to work with 1.5 [1] I've started a list of language changes, and
come up with the following

* generics, of course
* annotations
* autoboxing
* covariant return types
* enums
* foreach
* static import
* variable-length argument lists

Lots of library changes as well, but this list contains only language syntax
changes. Have I left anything out?

Java 5 changed the memory model, which is definitely a language change,
although not a syntax change and probably not something that affects
most people (more likely, it makes broken code less broken).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,736
Latest member
zacharyharris

Latest Threads

Top