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

        Jim Zhang created issue -
        Jim Zhang made changes -
        Field Original Value New Value
        Assignee Jim Zhang [ jim.zhang ]
        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.
        Jim Zhang made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.7DR#1 [ 10100 ]
        Affects [Compatibility/Configuration]
        Assignee Priority P2
        Resolution Fixed [ 1 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14837 Wed Sep 19 16:16:39 MDT 2007 jim.zhang ICE-2123 for jdk1.4 compatibility, String.contains() method changes to String.indexof().
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/style/OutputStyleRenderer.java
        Ken Fyten made changes -
        Fix Version/s 1.6.2 [ 10111 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        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 -

        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.
        Jim Zhang made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Assignee Priority P2
        Assignee Jim Zhang [ jim.zhang ]
        Ken Fyten made changes -
        Fix Version/s 1.6.2 [ 10111 ]
        Ken Fyten made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: