Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
confile opened this issue Nov 16, 2014 · 1 comment
Open

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

confile opened this issue Nov 16, 2014 · 1 comment

Comments

@confile
Copy link

confile commented Nov 16, 2014

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

@gautamaino
Copy link

Hi,

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants