Re: Enforcing JDK 1.4-specific modules

2007-06-13 Thread Craig L Russell
Is this a bug? I'd think that setting the source 1.4 flag would disallow compiling a file that contained a reference to 1.5 methods in the java.lang package. I'd have to look at any differences between the maven project.properties, the maven pom.xml, and the javac - source techniques. I'm

Re: Enforcing JDK 1.4-specific modules

2007-06-13 Thread Craig L Russell
I found an interesting posting with a reference to the answer. If you care not to read it, the short answer is that Marc is right. http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/ javac.html#crosscomp-example http://www.velocityreviews.com/forums/t146324-crosscompile-to-v14-