org.jboss.tools.vpe declares wrong Java Environment
---------------------------------------------------
Key: JBIDE-7081
URL:
https://jira.jboss.org/browse/JBIDE-7081
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Affects Versions: 3.2.0.M2
Reporter: Snjezana Peco
Assignee: Maxim Areshkau
org.jboss.tools.vpe contains the "Bundle-RequiredExecutionEnvironment: J2SE-1.5"
declaration.
However the plugin uses two methods of the Properties class that exist only for Java
>=1.6.
You will get compile errors if the workspace contains some JRE 1.5 (JRE 1.5 doesn't
have to be the default JRE).
Solution:
Changing the declaration to "Bundle-RequiredExecutionEnvironment: JavaSE-1.6"
or removing the mentioned methods.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira