"david.lloyd(a)jboss.com" wrote : "tom.baeyens(a)jboss.com" wrote :
strange. i just build the distro and the javac task has source="1.4" and
target="1.4" and this doesn't seem to be giving a problem... i'll
investigate futher
|
| Setting -source/-target 1.4 does not prevent usage of new 1.5 JDK features, just
language constructs.
...which is to say, using -source 1.4 you couldn't use enums, generics, or
annotations, but you can still use new classes/methods. There's nothing within the
JDK classes that marks specific classes or methods as new for 1.5 such that the compiler
would be able to detect it.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974866#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...