12 Sep 2002 04:17
Re: Build proposal
Peter B. West <pbwest <at> powerup.com.au>
2002-09-12 02:17:25 GMT
2002-09-12 02:17:25 GMT
J.Pietschmann wrote: > Keiron Liddle wrote: > >> Can we compile the a jdk1.3 or jdk1.4 version of a file use the: >> <exclude> with "if" or "unless" attribute. > > > Certainly. Points: > - Is it desirable to have two nearly identical files for the two > JDK versions because of just three inserted lines? Yes, IMO. > Yeah, in our specific case this could be solved by using an > artificial intermediate class which is empty for JDK1.3 and > contains an implementation for the abstract method in the 1.4 > case. Sounds good. > However, there could be more substantial differences, in > particular if they must be read in context and changed > synchronously with the rest of the code, which means the > differences are harder to isolate. > (Just for fun: look at the Jimi vs. JAI code) I haven't done that; but the changes should still be isolable, particularly if considered when the the whizz-bang new features of jdk 1.10 are first introduced. Then its a matter of ensuring that new code is written with an eye to the supported jdks. Rhett may be able to ease(Continue reading)
RSS Feed