javac -source 1.6 -target 1.5 [or 1.4 or 1.3]
I want to use generics for compile time safty _and_ want to support "old" jdks - like 1.4.
And it would be cool if Mustang / 1.6 / 6.0 would use @Since(major=1,minor=6,micro=0) for classes / packages / methods instead of the "out of fashion" javaDoc tag.
Combined with package annotations for the jar [@jar("rt.jar")] errors could be generated like
> Error: target is 1.5 - usage of "java.lang.String.coolMustangFeature()" is not allowed..
Btw: Does any one know a tool wich converts 1.5 bytecode to 1.4? Should be possible with BCEL...