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

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26522 Wed Nov 23 09:02:43 MST 2011 nils.lundquist ICE-7485 - Removed unused import.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26517 Tue Nov 22 14:23:55 MST 2011 nils.lundquist ICE-7485 - Fixed Java6 dependency via public duplicate of SimpleEntry.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/example/ace/dataTable/DataTableRowExpansion.java
        Commit graph ADD /icefaces3/trunk/icefaces/samples/showcase/showcase/src/main/java/org/icefaces/samples/showcase/util/SimpleEntry.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #26492 Mon Nov 21 14:36:48 MST 2011 ken.fyten ICE-7485 - Remove use of JDK 1.6 APIs.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datatable/DataTable.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/dataexporter/XMLExporter.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: