Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.3
    • Component/s: Release
    • Labels:
      None
    • Environment:
      ICEfaces 4.3
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Compatibility/Configuration

      Description

      ICEfaces 4.3 will support JDK 1.8 through 10 only.

        Activity

        Hide
        Ken Fyten added a comment -

        Okay all our builds now specify source and target class version compatibility with JDK 1.8.

        We have the following warnings that we should correct related to using jdk 1.8:

            [javac] Compiling 63 source files to /Users/Ken/Code/svn/icefaces4-trunk/icefaces/ace/generator/build
            [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/merge/FacesConfigMerge.java:19: warning: OutputFormat is internal proprietary API and may be removed in a future release
            [javac] import com.sun.org.apache.xml.internal.serialize.OutputFormat;
            [javac]                                                 ^
            [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/merge/FacesConfigMerge.java:20: warning: XMLSerializer is internal proprietary API and may be removed in a future release
            [javac] import com.sun.org.apache.xml.internal.serialize.XMLSerializer;
        ...
         
         [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/ace/component/src/org/icefaces/ace/model/tree/NodeModelLazyListKeyConverter.java:45: warning: non-varargs call of varargs method with inexact argument type for last parameter;
            [javac]         return new NodeKey(indexes);
            [javac]                            ^
            [javac]   cast to Object for a varargs call
            [javac]   cast to Object[] for a non-varargs call and to suppress this warning
        
        compile:
            [javac] Compiling 194 source files to /Users/Ken/Code/svn/icefaces4-trunk/icefaces/core/build/classes
            [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java:298: warning: non-varargs call of varargs method with inexact argument type for last parameter;
            [javac]                         Object returnValue = method1.invoke(myfacesConfigInstance, noparams);
            [javac]                                                                                    ^
            [javac]   cast to Object for a varargs call
            [javac]   cast to Object[] for a non-varargs call and to suppress this warning
            [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java:300: warning: non-varargs call of varargs method with inexact argument type for last parameter;
            [javac]                         Object returnValue2 = method2.invoke(myfacesConfigInstance, noparams);
            [javac]                                                                                     ^
            [javac]   cast to Object for a varargs call
            [javac]   cast to Object[] for a non-varargs call and to suppress this warning
            [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java:302: warning: non-varargs call of varargs method with inexact argument type for last parameter;
            [javac]                         Object returnValue3 = method3.invoke(myfacesConfigInstance, noparams);
            [javac]                                                                                     ^
            [javac]   cast to Object for a varargs call
            [javac]   cast to Object[] for a non-varargs call and to suppress this warning
        
        Show
        Ken Fyten added a comment - Okay all our builds now specify source and target class version compatibility with JDK 1.8. We have the following warnings that we should correct related to using jdk 1.8: [javac] Compiling 63 source files to /Users/Ken/Code/svn/icefaces4-trunk/icefaces/ace/generator/build [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/merge/FacesConfigMerge.java:19: warning: OutputFormat is internal proprietary API and may be removed in a future release [javac] import com.sun.org.apache.xml.internal.serialize.OutputFormat; [javac] ^ [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/ace/generator/src/org/icefaces/ace/generator/merge/FacesConfigMerge.java:20: warning: XMLSerializer is internal proprietary API and may be removed in a future release [javac] import com.sun.org.apache.xml.internal.serialize.XMLSerializer; ... [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/ace/component/src/org/icefaces/ace/model/tree/NodeModelLazyListKeyConverter.java:45: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] return new NodeKey(indexes); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object [] for a non-varargs call and to suppress this warning compile: [javac] Compiling 194 source files to /Users/Ken/Code/svn/icefaces4-trunk/icefaces/core/build/classes [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java:298: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Object returnValue = method1.invoke(myfacesConfigInstance, noparams); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object [] for a non-varargs call and to suppress this warning [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java:300: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Object returnValue2 = method2.invoke(myfacesConfigInstance, noparams); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object [] for a non-varargs call and to suppress this warning [javac] /Users/Ken/Code/svn/icefaces4-trunk/icefaces/core/src/main/java/org/icefaces/util/EnvUtils.java:302: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Object returnValue3 = method3.invoke(myfacesConfigInstance, noparams); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object [] for a non-varargs call and to suppress this warning
        Hide
        Ken Fyten added a comment -

        Also when running showcase attempting to use the left-side menu fails with:

        Type Exception Report
        
        Message /resources/examples/ace/selectmenu/selectMenuOverview.xhtml @38,193 value="#{selectMenuBean.province}": Property [province] not found on type [org.icefaces.dialog.SelectMenuBean] 
        Show
        Ken Fyten added a comment - Also when running showcase attempting to use the left-side menu fails with: Type Exception Report Message /resources/examples/ace/selectmenu/selectMenuOverview.xhtml @38,193 value= "#{selectMenuBean.province}" : Property [province] not found on type [org.icefaces.dialog.SelectMenuBean]
        Hide
        Arturo Zambrano added a comment -

        r52505: fixes to correct varargs method invocation warnings and API warnings, for which the Xerces 2.12.0 library had to be added

        The showcase is now working correctly as well.

        Show
        Arturo Zambrano added a comment - r52505: fixes to correct varargs method invocation warnings and API warnings, for which the Xerces 2.12.0 library had to be added The showcase is now working correctly as well.
        Hide
        Ken Fyten added a comment -

        Please verify that the xerces 2.12.0 lib is only required while building ICEfaces itself, and not for runtime deployments.

        Show
        Ken Fyten added a comment - Please verify that the xerces 2.12.0 lib is only required while building ICEfaces itself, and not for runtime deployments.
        Hide
        Arturo Zambrano added a comment -

        Yes, Xerces is only used for compiling and not at runtime. We only use it to merge our custom faces-config.xml with the generated faces-config.xml, and we include the merged faces-config.xml in the ace jar

        Show
        Arturo Zambrano added a comment - Yes, Xerces is only used for compiling and not at runtime. We only use it to merge our custom faces-config.xml with the generated faces-config.xml, and we include the merged faces-config.xml in the ace jar
        Hide
        Arturo Zambrano added a comment -

        r52509: added javax.inject library (javax.inject-2.1.95.jar) for building javadoc targets without errors

        Show
        Arturo Zambrano added a comment - r52509: added javax.inject library (javax.inject-2.1.95.jar) for building javadoc targets without errors

          People

          • Assignee:
            Unassigned
            Reporter:
            Ken Fyten
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: