[
https://issues.jboss.org/browse/JBIDE-14013?page=com.atlassian.jira.plugi...
]
Max Rydahl Andersen commented on JBIDE-14013:
---------------------------------------------
source=1.6 just tell the compiler which *syntax* to accept.
If you put another JDK jar's on the classpath it will happily accept those classes to
compile against meaning you will get access to new methods etc.
This is what happens when had the issue of missing/needed @Override annotations - JDK 5
and JDK 6 had different content in its jar thus things behaved differently.
This fix is good, but unless there are some magic somewhere that knows how to not call
methods in a .jar based on this setting then it won't prevent
JDK 7 method usage, but it will limit syntax usage to Java 6 (but Java 7 doesn't have
any new syntax afair thus that is not going to help much *right* now, it will
when JDK 8/9 comes which has some new syntax)
Build allows compilation using Java 7 features
----------------------------------------------
Key: JBIDE-14013
URL:
https://issues.jboss.org/browse/JBIDE-14013
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Build/Releng
Reporter: Mickael Istria
Assignee: Nick Boldt
Fix For: 4.1.0.Beta1
If someone is using some Java 7 methods to build locally, Tycho compiler won't
complain whereas we don't want to allow usage of Java 1.7 (yet).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira