We simply can't. Leaving the generics/erasure problem aside, there is a way to ensure you don't compile against methods that are too new, but it is painful: start building with JDK 1.2, compile what hasn't been compiled by building with JDK 1.3, repeat with JDK 1.4 and 1.5.
What about "cross-compiling" against older JDK's by tweaking the bootclasspath/extdirs on Javac's command line? We'd just need to keep older rt.jar files. Anyone tried that before? (I vaguely recall discussions around this). --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]