Skip to main content

The Java Language Specification, 3rd Edition

Posted by tomwhite on February 28, 2005 at 2:16 PM PST

There was no fanfare, in fact it's not even linked to from the JDK 1.5 documentation, but
the third edition of the Java Language Specification is available for "maintenance review".
I only found it because I wondered if a new version of the JLS had been produced for 1.5, and went out looking for it. The changes are only "proposed" changes - it is odd that they didn't go final with the release of 1.5.0 - and there's even a language change from 1.4 in there too (assertions). Presumably it will be finalised when the book is printed.

There have been some big changes in Java recently so it's good that the JLS has had a bit of work done on it as it was looking a bit forgotten. Here's a list of the new language features by chapter:

  • Chapter 3, Lexical Structure - Unicode supplementary character support
  • Chapter 4, Types, Values and Variables - Generics
  • Chapter 5, Conversions and Promotions - Autoboxing/Unboxing
  • Chapter 7, Packages - Static Import
  • Chapter 8, Classes - Varargs and Typesafe Enums
  • Chapter 9, Interfaces - Annotations
  • Chapter 14, Blocks and Statements - Enhanced for Loop and Assertions
  • Chapter 17, Threads and Locks - The Revised Memory Model (almost completely re-written)

It's probably worth a re-read.

Related Topics >>