DevMode FAQ

2014-04-29 Thread Leif Åstrand
Inspired by some recent discussions about what's up with DevMode, I 
assembled a rough FAQ on the 
topic
.

If you feel something is missing or wrong, please add a comment. I'll let 
the comments pour in while I go for a short vacation, after which I'll make 
necessary updates and submit this as a part of gwtproject.org.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit+unsubscr...@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.


Re: GWT WebApp and iOS 6 Safari

2013-01-16 Thread Leif Åstrand
We also stumbled upon what seems to be the same issue. We tracked it down 
to javascript in iOS6 behaving strangely in the canCastUnsafe method that 
is used whenever a java typecast is done. In our case, this only happend 
when attempting to cast a String value and it only seems to happen in 
relation to calling Map.get or Map.containsKey with a String key. We 
haven't found any trivial way of reproducing the issue.

Further details as well as the GWT patch we used to workaround the issue 
can be found at http://dev.vaadin.com/ticket/10753.

/Leif

On Wednesday, October 3, 2012 6:04:51 PM UTC+3, Jens wrote:
>
> Hmm couldn't see why there should be a ClassCastException. As a side note, 
> your equals() method is not correct, email/code can be null and two 
> instances containing the same null variables are currently unequal (your if 
> forbids null values). You should also overwrite hashcode() because you have 
> overwritten equals().
>
> Back to your problem: 
>
> Have you tried to compile the app in PRETTY mode and then use Safari's 
> remote debugging to see whats going on in Javascript? Maybe the compiler 
> has generated webkit JS code that does not work as intended in Safari 6 on 
> IOS 6. Do you have the same error when using Safari 6 on Mac OS? Although 
> its not really the same situation but in 
> http://code.google.com/p/google-web-toolkit/issues/detail?id=7392 I had a 
> similar problem with a ClassCastException that should not occur. But would 
> it be the situation as in the issue it should not work on Safari in general 
> I think. But as a wild guess: Does your code work on IOS when you introduce 
> a no-arg constructor to your place that is calling this(null, null) and 
> setter methods you can call in your Tokenizer when using the no-arg 
> constructor to create the place?
>
> -- J.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/8deO2IUkAL0J.
To post to this group, send email to google-web-toolkit@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: GWT app crashing on iOS 6

2013-01-16 Thread Leif Åstrand
We also stumbled upon what seems to be the same issue. We tracked it down 
to javascript in iOS6 behaving strangely in the canCastUnsafe method that 
is used whenever a java typecast is done. In our case, this only happend 
when attempting to cast a String value and it only seems to happen in 
relation to calling Map.get or Map.containsKey with a String key. We 
haven't found any trivial way of reproducing the issue.

Further details as well as the GWT patch we used to workaround the issue 
can be found at http://dev.vaadin.com/ticket/10753. We could submit the 
same patch to GWT, but considering the potential performance implications 
of the change, we are still investigating alternatives.

/Leif

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/wOEP7xTw_7UJ.
To post to this group, send email to google-web-toolkit@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.