Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-12378

Use of Java 6 API where Java 5 is declared as the execution environment

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Trivial Trivial
    • 4.0.0.Alpha1
    • 3.3.0.Final
    • maven, server
    • None

      (1) The project org.jboss.tools.maven.ui uses java.lang.String.isEmpty() which is available since Java 6 but the project's MANIFEST.MF states

      Bundle-RequiredExecutionEnvironment: J2SE-1.5

      (2) There is a similar problem in org.jboss.ide.eclipse.as.ui where in its MANIFEST.MF the execution environment is declared properly as JavaSE-1.6 but the .classpath file contains something else, namely J2SE-1.5.

      I will provide a patch for both (1) and (2).

      A similar issue has recently been fixed in org.jboss.tools.seam.ui by changing the declared execution environment in MANIFEST.MF to JavaSE-1.6.

            fbricon@redhat.com Fred Bricon
            ppalaga Peter Palaga
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: