[jboss-dev-forums] [Design of JBoss jBPM] - Re: 3.2 alpha 1 release status
david.lloyd@jboss.com
do-not-reply at jboss.com
Thu Sep 28 09:01:11 EDT 2006
"david.lloyd at jboss.com" wrote : "tom.baeyens at 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#3974866
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974866
More information about the jboss-dev-forums
mailing list