Hi,

I've a strange issue with GWT 2.8 RC3.
I've a basic object such as:

@JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL)
public class Credentials {

    @JsProperty
    public native String getFacebook();

    @JsProperty
    public native void setFacebook(String facebook);

}



I build this object and I pass it at an external libray (hellojs) such as :


Credentials credentials = new Credentials();
credentials.setFacebook("111111111");
Hello.hello().init(credentials, null);


@JsType(isNative = true, name = "hello")
public class Hello {
    
    public native Hello init(Credentials credentials, Options options);
    
}



But it doesn't work, because hellojs make a "instanceof Object" on my 
credentials object (cf a in screenshot), and false is returned.

I don't understand why.


<https://lh3.googleusercontent.com/-KHnm7msOJCQ/WAIvjUTOvGI/AAAAAAAAG78/fZz74E4Iy_IDYXaKZmC9C2oeBqXBwIKfACLcB/s1600/Capture%2Bd%25E2%2580%2599e%25CC%2581cran%2B2016-10-15%2Ba%25CC%2580%2B15.28.49.png>



Somebody has an idea ?

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to