[jbosstools-issues] [JBoss JIRA] (JBIDE-15490) CLONE - Use Java5 method to check if String is empty
Jakub Niedermertl (JIRA)
jira-events at lists.jboss.org
Fri Sep 13 04:14:03 EDT 2013
Jakub Niedermertl created JBIDE-15490:
-----------------------------------------
Summary: 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.1.1.Alpha1, 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
More information about the jbosstools-issues
mailing list