What exactly is not working?
What is the obj in this case? What is the expected result?

On Sat, Apr 11, 2015 at 5:15 AM, 田传武 <[email protected]> wrote:

> Hi all,
>
> when i upgrade GWT from 2.7.0-SNAPSHOT to 2.7.0, the code below is not
> working:
> obj instanceof CollaborativeObjectImpl and
> obj instanceof JsonObject
>
> Here are my type declarations:
> @JsType interface EventTarget
> @JsType interface CollaborativeObject extends EventTarget
> @JsType interface CollaborativeString extends CollaborativeObject
> abstract class CollaborativeObjectImpl implements CollaborativeObject
> class CollaborativeStringImpl extends CollaborativeObjectImpl implements
> CollaborativeString
>
> class JsJsonValue extends JavaScriptObject
> interface JsonElement extends java.io.Serializable
> interface JsonObject extends JsonElement
> class JsJsonElement extends JsJsonValue implements JsonElement
> final class JsJsonObject extends JsJsonElement implements JsonObject
>
> the full source code is hosted at github:
>
> https://github.com/goodow/realtime-store/blob/master/src/main/java/com/goodow/realtime/store/impl/JsonSerializer.java#L60-L69
> and
>
> https://github.com/goodow/realtime-json/blob/master/src/main/java/com/goodow/realtime/json/JsonObject.java
>
> Thanks for help :)
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-web-toolkit-contributors/1b763bef-1a2f-4ed0-8668-3c77151acba2%40googlegroups.com
> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/1b763bef-1a2f-4ed0-8668-3c77151acba2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA13EOTwwduGCdU%2Bp35tHY2pJ_qO_2PPW%2BW7PjbX_iq6QQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to