ICEfaces
  1. ICEfaces
  2. ICE-7485

JDK 1.6+ API use in ACE components preventing compiling with JDK 1.5

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta2
    • Fix Version/s: 3.0.RC1, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 3, rvn # 26490
    • Assignee Priority:
      P1

      Description

      The following ACE components are using a JDK 1.6 method that fails compilation using JDK 1.5 on the build server:

      [loading /home/builder/jdk1.5.0_10/jre/lib/rt.jar(java/lang/UnsupportedOperationException.class)]
      /home/builder/cruise-builds/checkout/ICEfaces3-Nightly/bundle/ICEfaces-3.0.0.SNAPSHOT-bin/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java:517: cannot find symbol
      symbol : method isEmpty()
      location: class java.lang.String
      if (value != null && !value.isEmpty())
      ^

      [checking org.icefaces.ace.component.dataexporter.XMLExporter]
      /home/builder/cruise-builds/checkout/ICEfaces3-Nightly/bundle/ICEfaces-3.0.0.SNAPSHOT-bin/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/XMLExporter.java:134: cannot find symbol
      symbol : method isEmpty()
      location: class java.lang.String
      if (!footer.isEmpty())
      ^

        Activity

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: