Hi, Kevin.
I was able to get it working without to much troubles. But it is far
from ideal. There are some issues beside Serialization
1) Gwt compatible classes make use of java.util.concurrent
(TimeUnit,AtomicInteger, ConcurrentMap,ConcurrentHashMap) and
java.util.Properties. This classes are not available in GWT.
Whole java concurrent package is just plain deceiving in GWT since JS
is Single Threaded.
My workaround is to just emulate the missing classes with super-
source.
2) jsr305 Nullable is not available in GWT. I've used super-source
once again.
3) Joiner and AbstractImutableMultimap should be annotated with
@GwtCompatible
4) I've also emulated java.io.* with do nothing classes. Better
solution is maybe to automatically rewrite the @GwtIncompatible
methods to throw an exception or something like that.
I think that is about it. It goes without saying you guys rock! It is
very cool to know that collections will soon be available for gwt.
Cheers,
Alen
On Apr 17, 12:40 am, Kevin Bourrillion <
kev...@google.com> wrote:
> RC2 or RC3 is planned to include a gwt module that should work for you right
> out of the box. If any user would like to try building this themselves,
> I've just checked the necessary emulation classes into svn:
http://code.google.com/p/google-collections/source/browse/#svn/trunk/...