about compilation of java.util even when not included

2010-10-21 Thread Sachin Dole
Hello,

I have a very simple app that i have written solely to learn and understand
the compilation results of a gwt compile. in this app, I have one module,
that simply inserts a new HTML(HelloWorld) in the RootPanel. It does not
call any service. However, there is an RPC servlet which has one method with
signature public String[] getArrayListOfStrings(); No collections or Lists
or anything from java.util is being used. However, in the soyc report i
clearly see java.util being one of the packages that is being compiled.
within that package, all collections such as Hashmap, abstracthashmap,
arraylists and such are being compiled. I dont have any reference to any of
those in my app. So, why does soyc report it as being compiled?

Thanks!
Sachin

-- 
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: about compilation of java.util even when not included

2010-10-21 Thread Didier DURAND
Hi

JavaUtil may be included because 1 of the gwt components that you use
(HTML, RootPanel, etc.) may need id.

To figure it out, you should compile with GWT in detailled mode, then
find out the name of js code for java.util and search it throughout
the entire code of your application to see where it is used

didier

On Oct 21, 8:34 pm, Sachin Dole sachin.d...@gmail.com wrote:
 Hello,

 I have a very simple app that i have written solely to learn and understand
 the compilation results of a gwt compile. in this app, I have one module,
 that simply inserts a new HTML(HelloWorld) in the RootPanel. It does not
 call any service. However, there is an RPC servlet which has one method with
 signature public String[] getArrayListOfStrings(); No collections or Lists
 or anything from java.util is being used. However, in the soyc report i
 clearly see java.util being one of the packages that is being compiled.
 within that package, all collections such as Hashmap, abstracthashmap,
 arraylists and such are being compiled. I dont have any reference to any of
 those in my app. So, why does soyc report it as being compiled?

 Thanks!
 Sachin

-- 
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.