Re: [gwt-contrib] Digest for google-web-toolkit-contributors@googlegroups.com - 4 updates in 2 topics

94 views
Skip to first unread message

Arnaud TOURNIER

unread,
Oct 23, 2015, 8:27:44 AM10/23/15
to Digest recipients
Hi !

I have a question : do you already plan that the JsInterop spec will be the same to be implemented in GWT 3.0 ?

Meaning, if one invests time to master the new JsInterop api, will he have to learn something new when switching to GWT 3 or most of the concepts will stay (which i both hope and think)

Thanks !

And bye the way, i really find this api rocks ! Thanks a lot !

Arnaud

Le ven. 23 oct. 2015 à 12:50, <google-web-tool...@googlegroups.com> a écrit :
Goktug Gokdogan <gok...@google.com>: Oct 23 12:13AM -0700

As we are getting close to 2.8 release I wrote a new document that is
concentrating on jsinterop features to be released in 2.8:
https://docs.google.com/document/d/10fmlEYIHcyead_4R1S5wKGs1t2I7Fnp_PaNaa7XTEk0/edit#
 
Please share your feedback.
 
Thanks,
 
Goktug
Jens <jens.ne...@gmail.com>: Oct 23 01:57AM -0700

What about method overloading on Java side? Doesn't seem to be mentioned in
the doc so I guess its not supported and we would need to rename methods on
Java side? E.g.
 
class Foo {
@JsMethod(name = "send")
public native void sendString(String s)
 
@JsMethod(name = "send")
public native void sendBlob(Blob b)
}
 
 
-- J.
Goktug Gokdogan <gok...@google.com>: Oct 23 02:07AM -0700

Yes, no overloads in Java side as we don't automatically generate dispatch.
Either you need to rename or you can create a send(Object) and dispatch
manually to other methods.
 
Goktug Gokdogan <gok...@google.com>: Oct 22 11:55PM -0700

In the last few months, we had important progress on JsInterop and finally
it looks like we will be able to start the release process for 2.8 in a few
weeks. So if you believe a patch needs to be part of the RC release, this
is a good time to engage.
 
I know there will be questions about Java8 so here are some answers:
Language features wise, we are feature complete for long time. However
plenty of new APIs, most significantly streams, is not emulated. The
release will only include the subset of the APIs that is contributed by the
community so it is in the hands of open source contributors.
We may also do a 2.8.x release with bug fixes that includes latest
contributions to emulation.
 
Let me know if you have any questions.
 
Cheers.
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to google-web-toolkit-co...@googlegroups.com.

Goktug Gokdogan

unread,
Oct 23, 2015, 9:38:36 PM10/23/15
to google-web-toolkit-contributors
JsInterop is designed for both current GWT compiler and the new compiler that we are working on. So you should be fine learning and mastering JsInterop.

--
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 google-web-toolkit-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CANjaDne_ZHo_8J1AJgYgd0po7DwkEGxMyXv8D1SNXrrbk9RMQQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages