Re: Deprecated XXXListenerCollection warnings when migrating to GWT 2.0
I had already posted both the problem and the answer at http://groups.google.com/group/google-web-toolkit/browse_thread/thread/cbf566637f03496a Anyway, to see the real problem, compile with log level = debug and with the -compileReport option. You will see several files *.rpc.log. Those will contain why those classes were included. But, as I said in the other post, to me it seems a bug in the GWT compiler... On 19 dez, 06:38, Al Murauski a.murau...@gmail.com wrote: Absolutely the same problem after migrating to 2.0. On 19 дек, 00:57, Raziel raziel...@gmail.com wrote: Hi, I'm migrating my application from GWT 1.7 to GWT 2.0, and everything seems ok except for the warning below every time I compile: ] Adding '69' new generated units ] Validating newly compiled units ] [WARN] Warnings in 'generated:// 3DE2D57126EAE7405EEA01A75D45584C/com/appiancorp/gwt/appbuilder/client/ services/ApplicationRPCS eSerializer.java' ] [WARN] Line 286: Referencing deprecated class 'com.google.gwt.user.client.ui.ChangeListenerCollection' ] [WARN] Line 291: Referencing deprecated class 'com.google.gwt.user.client.ui.ClickListenerCollection' ] [WARN] Line 296: Referencing deprecated class 'com.google.gwt.user.client.ui.FocusListenerCollection' ] [WARN] Line 301: Referencing deprecated class 'com.google.gwt.user.client.ui.FormHandlerCollection' ] [WARN] Line 306: Referencing deprecated class 'com.google.gwt.user.client.ui.KeyboardListenerCollection' ] [WARN] Line 311: Referencing deprecated class 'com.google.gwt.user.client.ui.LoadListenerCollection' ] [WARN] Line 316: Referencing deprecated class 'com.google.gwt.user.client.ui.MouseListenerCollection' ] [WARN] Line 321: Referencing deprecated class 'com.google.gwt.user.client.ui.MouseWheelListenerCollection' ] [WARN] Line 326: Referencing deprecated class 'com.google.gwt.user.client.ui.PopupListenerCollection' ] [WARN] Line 331: Referencing deprecated class 'com.google.gwt.user.client.ui.ScrollListenerCollection' ] [WARN] Line 336: Referencing deprecated class 'com.google.gwt.user.client.ui.TabListenerCollection' ] [WARN] Line 341: Referencing deprecated class 'com.google.gwt.user.client.ui.TableListenerCollection' ] [WARN] Line 346: Referencing deprecated class 'com.google.gwt.user.client.ui.TreeListenerCollection' ] See snapshot: C:\DOCUME~1\RAZIEL~1.ALV\LOCALS~1\Temp \ApplicationRPCService_TypeSerializer4633447028131908703.java I don't understand why in the world I'm getting that since my code never defines signature related to any of those classes. Any idea? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Deprecated XXXListenerCollection warnings when migrating to GWT 2.0
Absolutely the same problem after migrating to 2.0. On 19 дек, 00:57, Raziel raziel...@gmail.com wrote: Hi, I'm migrating my application from GWT 1.7 to GWT 2.0, and everything seems ok except for the warning below every time I compile: ] Adding '69' new generated units ] Validating newly compiled units ] [WARN] Warnings in 'generated:// 3DE2D57126EAE7405EEA01A75D45584C/com/appiancorp/gwt/appbuilder/client/ services/ApplicationRPCS eSerializer.java' ] [WARN] Line 286: Referencing deprecated class 'com.google.gwt.user.client.ui.ChangeListenerCollection' ] [WARN] Line 291: Referencing deprecated class 'com.google.gwt.user.client.ui.ClickListenerCollection' ] [WARN] Line 296: Referencing deprecated class 'com.google.gwt.user.client.ui.FocusListenerCollection' ] [WARN] Line 301: Referencing deprecated class 'com.google.gwt.user.client.ui.FormHandlerCollection' ] [WARN] Line 306: Referencing deprecated class 'com.google.gwt.user.client.ui.KeyboardListenerCollection' ] [WARN] Line 311: Referencing deprecated class 'com.google.gwt.user.client.ui.LoadListenerCollection' ] [WARN] Line 316: Referencing deprecated class 'com.google.gwt.user.client.ui.MouseListenerCollection' ] [WARN] Line 321: Referencing deprecated class 'com.google.gwt.user.client.ui.MouseWheelListenerCollection' ] [WARN] Line 326: Referencing deprecated class 'com.google.gwt.user.client.ui.PopupListenerCollection' ] [WARN] Line 331: Referencing deprecated class 'com.google.gwt.user.client.ui.ScrollListenerCollection' ] [WARN] Line 336: Referencing deprecated class 'com.google.gwt.user.client.ui.TabListenerCollection' ] [WARN] Line 341: Referencing deprecated class 'com.google.gwt.user.client.ui.TableListenerCollection' ] [WARN] Line 346: Referencing deprecated class 'com.google.gwt.user.client.ui.TreeListenerCollection' ] See snapshot: C:\DOCUME~1\RAZIEL~1.ALV\LOCALS~1\Temp \ApplicationRPCService_TypeSerializer4633447028131908703.java I don't understand why in the world I'm getting that since my code never defines signature related to any of those classes. Any idea? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Deprecated XXXListenerCollection warnings when migrating to GWT 2.0
Hi, I'm migrating my application from GWT 1.7 to GWT 2.0, and everything seems ok except for the warning below every time I compile: ] Adding '69' new generated units ] Validating newly compiled units ] [WARN] Warnings in 'generated:// 3DE2D57126EAE7405EEA01A75D45584C/com/appiancorp/gwt/appbuilder/client/ services/ApplicationRPCS eSerializer.java' ][WARN] Line 286: Referencing deprecated class 'com.google.gwt.user.client.ui.ChangeListenerCollection' ][WARN] Line 291: Referencing deprecated class 'com.google.gwt.user.client.ui.ClickListenerCollection' ][WARN] Line 296: Referencing deprecated class 'com.google.gwt.user.client.ui.FocusListenerCollection' ][WARN] Line 301: Referencing deprecated class 'com.google.gwt.user.client.ui.FormHandlerCollection' ][WARN] Line 306: Referencing deprecated class 'com.google.gwt.user.client.ui.KeyboardListenerCollection' ][WARN] Line 311: Referencing deprecated class 'com.google.gwt.user.client.ui.LoadListenerCollection' ][WARN] Line 316: Referencing deprecated class 'com.google.gwt.user.client.ui.MouseListenerCollection' ][WARN] Line 321: Referencing deprecated class 'com.google.gwt.user.client.ui.MouseWheelListenerCollection' ][WARN] Line 326: Referencing deprecated class 'com.google.gwt.user.client.ui.PopupListenerCollection' ][WARN] Line 331: Referencing deprecated class 'com.google.gwt.user.client.ui.ScrollListenerCollection' ][WARN] Line 336: Referencing deprecated class 'com.google.gwt.user.client.ui.TabListenerCollection' ][WARN] Line 341: Referencing deprecated class 'com.google.gwt.user.client.ui.TableListenerCollection' ][WARN] Line 346: Referencing deprecated class 'com.google.gwt.user.client.ui.TreeListenerCollection' ]See snapshot: C:\DOCUME~1\RAZIEL~1.ALV\LOCALS~1\Temp \ApplicationRPCService_TypeSerializer4633447028131908703.java I don't understand why in the world I'm getting that since my code never defines signature related to any of those classes. Any idea? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Deprecated XXXListenerCollection warnings when migrating to GWT 2.0
Is it maybe because my RPC calls use generics and all these XXXListenerCollection classes extend ArrayList? I still don't see the relation, except the compiler overgeneralizing the generic definitions. On Dec 18, 5:57 pm, Raziel raziel...@gmail.com wrote: Hi, I'm migrating my application from GWT 1.7 to GWT 2.0, and everything seems ok except for the warning below every time I compile: ] Adding '69' new generated units ] Validating newly compiled units ] [WARN] Warnings in 'generated:// 3DE2D57126EAE7405EEA01A75D45584C/com/appiancorp/gwt/appbuilder/client/ services/ApplicationRPCS eSerializer.java' ] [WARN] Line 286: Referencing deprecated class 'com.google.gwt.user.client.ui.ChangeListenerCollection' ] [WARN] Line 291: Referencing deprecated class 'com.google.gwt.user.client.ui.ClickListenerCollection' ] [WARN] Line 296: Referencing deprecated class 'com.google.gwt.user.client.ui.FocusListenerCollection' ] [WARN] Line 301: Referencing deprecated class 'com.google.gwt.user.client.ui.FormHandlerCollection' ] [WARN] Line 306: Referencing deprecated class 'com.google.gwt.user.client.ui.KeyboardListenerCollection' ] [WARN] Line 311: Referencing deprecated class 'com.google.gwt.user.client.ui.LoadListenerCollection' ] [WARN] Line 316: Referencing deprecated class 'com.google.gwt.user.client.ui.MouseListenerCollection' ] [WARN] Line 321: Referencing deprecated class 'com.google.gwt.user.client.ui.MouseWheelListenerCollection' ] [WARN] Line 326: Referencing deprecated class 'com.google.gwt.user.client.ui.PopupListenerCollection' ] [WARN] Line 331: Referencing deprecated class 'com.google.gwt.user.client.ui.ScrollListenerCollection' ] [WARN] Line 336: Referencing deprecated class 'com.google.gwt.user.client.ui.TabListenerCollection' ] [WARN] Line 341: Referencing deprecated class 'com.google.gwt.user.client.ui.TableListenerCollection' ] [WARN] Line 346: Referencing deprecated class 'com.google.gwt.user.client.ui.TreeListenerCollection' ] See snapshot: C:\DOCUME~1\RAZIEL~1.ALV\LOCALS~1\Temp \ApplicationRPCService_TypeSerializer4633447028131908703.java I don't understand why in the world I'm getting that since my code never defines signature related to any of those classes. Any idea? Thanks -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.