On 04.02.2013, at 19:40, Christopher Schultz <ch...@christopherschultz.net> wrote: > It's a "maybe". If you use "-target 1.6" and you make sure not to use > any APIs that are Java 1.7+ (not sure if the compiler actually checks > when you use -target 1.6)
It does not. -target only sets the class file format. There's an option to set the compiler's boot classpath though, where you could point at another rt.jar, but I never used that (yet). Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org