From: "andrew cooke" <andrew@...>
Date: Tue, 28 Feb 2006 19:02:19 -0300 (CLST)
I've just found this book online. As far as I can tell, it seems to be equivalent to the (paper) book "JavaTech: Introduction to Scientific and Technical Computing with Java" - http://www.particle.kth.se/~lindsey/JavaCourse/Book/index.html All the chapters seem to be available by clicking at the bottom of the page. One particularly useful chapter/page was the following summary of new features in Java 5 - http://www.particle.kth.se/~lindsey/JavaCourse/Book/Part1/Supplements/Chapter01/Java5Features.html Andrew
Java Language Spec, Enum Restrictions
From: "andrew cooke" <andrew@...>
Date: Wed, 1 Mar 2006 19:11:57 -0300 (CLST)
Even so, there's insufficient detail on Enums (just got an error saying I cannot access a static field in the class from within a constructor - that's Enum specific, right?). Hmmm. The JLS is available for download - http://java.sun.com/docs/books/jls/index.html - and the justification for this restriction is descibed on page 252. It's not a very good justification, as the rule is more general than the problem (avoiding circular references of Enums), but I get the impression there's a whole mess of special cases because the language is getting so complex.