On Mar 11, 2011, at 1:51 AM, Alan Bateman wrote: > Kelly O'Hair wrote: >> >> I don't think that is the reason for the 1.4. But someone closer to this SA >> project would need to clarify this. >> >> The reason was so that the SA could potentially operate on an older JDK as I >> recall. >> I suspect 1.4 settings should have been changed to 1.5 in 1.6, and maybe 1.6 >> in 1.7. > Sundar or Swamy might remember, but I'm pretty sure that SA was deliberately > not updated to use generics in the jdk5 time-frame because the code was being > used to get SA working with 1.4.2. Ancient history now and a nice little > project for someone to do some clean-up. In any case, it's not good to > compile with -source 1.4 without also setting -bootclasspath to specify the > corresponding platform classes so another reason to re-visit this.
Yes now I vaguely recall this. This needs a CR filed. The 1.4.2 and even 1.5 use is something that needs to be re-visited. I have also thought that these java sources should be compiled by the langtools boot javac.jar, whether they use -source or not, all the java code and generated class files should be going through the latest javac in the jdk being built, when doing a full forest build. -kto > > -Alan