Peter, are the codes in "Just Java" based on beta 2 release of J2SE 5.0? Will they be compatible with the final release of J2SE 5.0... ASAIK, all source codes are not available to download yet... Or will they be revised first,according to the release of J2SE 5.0 and exposed to the readers later?
Originally posted by Jeroen Wenting:
Do you have indication of major changes between the beta and production release of Tiger which may affect basic code as expected in an introductory text?
I'd not think the language syntax or core APIs would change during the latter stages of the development program.
I did face that kind of problem in Java in General(Intermediate) forum... One guy asked why his codes cannot be compiled... I didn't know the reason too... But one expert(Jeff Langr, if I am not wrong) corrected the code to be compatible with the beta 2 release... The old codes are based on Beta 1 release of Tiger...
That's why I raised this kind of question to Peter..
I wrote some early chapters based on Java 5 version Beta 1.
As soon as Beta 2 came out, I switched to that. I recompiled and
retested all the code examples, and I think I got almost everything that
There was just one API change that I did not find in time; it had to
do with getting a Scanner object (old way: use a factory method;
new way: just use a constructor). I put that in the errata sheet which
I maintain at http://afu.com/jj6
And it has been corrected in the second printing, which is the one flowing
into stores now (Yes! A second printing already!)
As far as I know there have been zero API changes between Beta2 and FCS.
But if anyone does find something, I would love to hear about it.