gwtphonegap icon indicating copy to clipboard operation
gwtphonegap copied to clipboard

Compiler warnings when using GWT 2.7.RC1 with GWT-PhoneGap 3.5.0

Open confile opened this issue 10 years ago • 1 comments

I use GWT 2.7.RC, MGWT 2.0, GWT-PhoneGap 3.5.0 and GWTP 1.4. Here is the warning I get during compilation:

Compiling module tests.mobile.MobilePhoneGapIOS
   Computing all possible rebind results for 'com.googlecode.gwtphonegap.client.log.shared.PhoneGapLogService'
      Rebinding com.googlecode.gwtphonegap.client.log.shared.PhoneGapLogService
         Invoking generator com.googlecode.gwtphonegap.rebind.PhoneGapServiceInterfaceProxyGenerator
            Generating client proxy for remote service interface 'com.googlecode.gwtphonegap.client.log.shared.PhoneGapLogService'
               Analyzing 'com.googlecode.gwtphonegap.client.log.shared.PhoneGapLogService' for serializable types
                  Analyzing methods:
                     public abstract java.lang.String logOnServer(java.lang.String clientId, java.util.List<java.util.logging.LogRecord> record)
                        Parameter: java.util.List<java.util.logging.LogRecord> record
                           java.util.List<java.util.logging.LogRecord>
                              Verifying instantiability
                                 java.util.Arrays.ArrayList<java.util.logging.LogRecord>
                                    Checking parameters of 'java.util.Arrays.ArrayList<java.util.logging.LogRecord>'
                                       java.util.logging.LogRecord[]
                                          Analyzing component type:
                                             java.util.logging.LogRecord
                                                Verifying instantiability
                                                   java.util.logging.LogRecord
                                                      Analyzing the fields of type 'java.util.logging.LogRecord' that qualify for serialization
                                                         private java.lang.Throwable thrown
                                                            java.lang.Throwable
                                                               Verifying instantiability
                                                                  com.gwtplatform.dispatch.client.interceptor.InterceptorMismatchException
                                                                     Analyzing the fields of type 'com.gwtplatform.dispatch.client.interceptor.InterceptorMismatchException' that qualify for serialization
                                                                        [WARN] Field 'private final java.lang.Class<?> requestedActionType' will not be serialized because it is final
                                                                        [WARN] Field 'private final java.lang.Class<?> supportedActionType' will not be serialized because it is final
      Rebinding com.googlecode.gwtphonegap.client.log.shared.PhoneGapLogService
         Invoking generator com.googlecode.gwtphonegap.rebind.PhoneGapServiceInterfaceProxyGenerator
            Generating client proxy for remote service interface 'com.googlecode.gwtphonegap.client.log.shared.PhoneGapLogService'
               Analyzing 'com.googlecode.gwtphonegap.client.log.shared.PhoneGapLogService' for serializable types
                  Analyzing methods:
                     public abstract java.lang.String logOnServer(java.lang.String clientId, java.util.List<java.util.logging.LogRecord> record)
                        Parameter: java.util.List<java.util.logging.LogRecord> record
                           java.util.List<java.util.logging.LogRecord>
                              Verifying instantiability
                                 java.util.Arrays.ArrayList<java.util.logging.LogRecord>
                                    Checking parameters of 'java.util.Arrays.ArrayList<java.util.logging.LogRecord>'
                                       java.util.logging.LogRecord[]
                                          Analyzing component type:
                                             java.util.logging.LogRecord
                                                Verifying instantiability
                                                   java.util.logging.LogRecord
                                                      Analyzing the fields of type 'java.util.logging.LogRecord' that qualify for serialization
                                                         private java.lang.Throwable thrown
                                                            java.lang.Throwable
                                                               Verifying instantiability
                                                                  com.gwtplatform.dispatch.client.interceptor.InterceptorMismatchException
                                                                     Analyzing the fields of type 'com.gwtplatform.dispatch.client.interceptor.InterceptorMismatchException' that qualify for serialization
                                                                        [WARN] Field 'private final java.lang.Class<?> requestedActionType' will not be serialized because it is final
                                                                        [WARN] Field 'private final java.lang.Class<?> supportedActionType' will not be serialized because it is final
      Rebinding com.googlecode.gwtphonegap.client.log.shared.PhoneGapLogService
         Invoking generator com.googlecode.gwtphonegap.rebind.PhoneGapServiceInterfaceProxyGenerator
            Generating client proxy for remote service interface 'com.googlecode.gwtphonegap.client.log.shared.PhoneGapLogService'
               Analyzing 'com.googlecode.gwtphonegap.client.log.shared.PhoneGapLogService' for serializable types
                  Analyzing methods:
                     public abstract java.lang.String logOnServer(java.lang.String clientId, java.util.List<java.util.logging.LogRecord> record)
                        Parameter: java.util.List<java.util.logging.LogRecord> record
                           java.util.List<java.util.logging.LogRecord>
                              Verifying instantiability
                                 java.util.Arrays.ArrayList<java.util.logging.LogRecord>
                                    Checking parameters of 'java.util.Arrays.ArrayList<java.util.logging.LogRecord>'
                                       java.util.logging.LogRecord[]
                                          Analyzing component type:
                                             java.util.logging.LogRecord
                                                Verifying instantiability
                                                   java.util.logging.LogRecord
                                                      Analyzing the fields of type 'java.util.logging.LogRecord' that qualify for serialization
                                                         private java.lang.Throwable thrown
                                                            java.lang.Throwable
                                                               Verifying instantiability
                                                                  com.gwtplatform.dispatch.client.interceptor.InterceptorMismatchException
                                                                     Analyzing the fields of type 'com.gwtplatform.dispatch.client.interceptor.InterceptorMismatchException' that qualify for serialization
                                                                        [WARN] Field 'private final java.lang.Class<?> requestedActionType' will not be serialized because it is final
                                                                        [WARN] Field 'private final java.lang.Class<?> supportedActionType' will not be serialized because it is final
log4j:WARN No appenders could be found for logger (org.hibernate.validator.util.Version).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
   Compiling 1 permutation
      Compiling permutation 0...
   Compile of permutations succeeded
   Compilation succeeded -- 30,483s
Linking into /Users/mg/Documents/Grails/GGTS3.5.1Test/tests-mobile/war/mobilePhoneGapIOS
   Invoking Linker Verify the availability of a more recent version of GWTP.
      Checking version information for gwtp-mvp-client
         You are using the latest version of gwtp-mvp-client!
      Checking version information for gwtp-dispatch-rest
         You are using the latest version of gwtp-dispatch-rest!
   Link succeeded
   Linking succeeded -- 6,975s

confile avatar Nov 16 '14 20:11 confile

Hi,

Is this issue fixed ? I mean is this repo compatible with GWT 2.7.0 and Cordova 5 ? TIA - Gautam

gautamaino avatar May 06 '15 09:05 gautamaino