ICEfaces
  1. ICEfaces
  2. ICE-2123

OutputStyleRenderer.java fails in compiling in Java 1.4 environment

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6DR#5
    • Fix Version/s: 1.7DR#1, 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Java 1.4
    • Affects:
      Compatibility/Configuration

      Description

      When debugging Icefaces from trunk in Java 1.4 environment, The compiler fails at

      line193 if (!user.contains("opera") && user.indexOf("msie") != -1) {

      in icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\style\OutputStyleRenderer.java


        Activity

        Hide
        Jim Zhang added a comment -

        This bug took place on 1.7 release and did not affect 1.6 branch.

        Show
        Jim Zhang added a comment - This bug took place on 1.7 release and did not affect 1.6 branch.
        Hide
        Jim Zhang added a comment -

        Since the bug took place in revision # 14805, which affected on 1.7 release only, this issue does not apply to 1.6.2.

        Show
        Jim Zhang added a comment - Since the bug took place in revision # 14805, which affected on 1.7 release only, this issue does not apply to 1.6.2.
        Hide
        Jim Zhang added a comment -

        The String.contains() method does not exist in Java 1.4. To resolve the problem, instead of String.contains(), use String.indexOf() method.

        Show
        Jim Zhang added a comment - The String.contains() method does not exist in Java 1.4. To resolve the problem, instead of String.contains(), use String.indexOf() method.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jim Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: