[
https://issues.jboss.org/browse/JBIDE-15490?page=com.atlassian.jira.plugi...
]
Jakub Niedermertl resolved JBIDE-15490.
---------------------------------------
Resolution: Done
Issue created to split verification of 2 branches. Original JBIDE-15334 issue already
resolved.
CLONE - Use Java5 method to check if String is empty
----------------------------------------------------
Key: JBIDE-15490
URL:
https://issues.jboss.org/browse/JBIDE-15490
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: archives
Reporter: Jakub Niedermertl
Assignee: Rob Stryker
Fix For: 4.2.0.Alpha1
When importing some Archive projects in a workspace where a Java5 JRE exists, there is a
compilation error because of the use of String#isEmpty() which is defined in Java6+
Steps to reproduce:
Import the Archives projects in a workspace where a JRE5 exists
Assert: no compilation error
Fail: compilation errors in
archives/plugins/org.jboss.ide.eclipse.archives.core/src/main/org/jboss/ide/eclipse/archives/core/model/interna/xb/XMLBinding.java
because String#isEmpty() was defined in Java6
The problem does not appear if the workspace is configured with a Java6 (or more) JRE.
--
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