Re: Is GWT trunk version supporting Java 8?

2015-04-07 Thread Marcin Okraszewski
Note - screenshots went below quoted text mark. I'll try again, but it 
doesn't show up, then expend the show quoted text

https://lh3.googleusercontent.com/-B_pWFWgSa6c/VSPvXbXCFlI/FNs/HKdFJMZCcl8/s1600/apply.png

https://lh3.googleusercontent.com/-SKKtmFHz_W8/VSPvc7lrxlI/FN0/FXACjzmaGsk/s1600/interop%2Bvs%2Bjs%2Bfunction.png




On Tuesday, 7 April 2015 16:50:46 UTC+2, Marcin Okraszewski wrote:

 Thank you, this is exactly what I was looking for. Though, I have a bit of 
 a problem with passing the @JsFunction instances (regardless written as 
 Java 8 lambda or more traditional implementation). The problem is that they 
 are not seen the same way as JS function. In particular they don't have 
 .apply() operation and JQuery is failing on such methods. 


 https://lh3.googleusercontent.com/-VtD7rosVmJo/VSPumFYR2NI/FNk/xApHWNvRd38/s1600/apply.png



 https://lh3.googleusercontent.com/-i8bsZ9YhYcs/VSPt8b_M9CI/FNc/cYkkeBMZz4Q/s1600/interop%2Bvs%2Bjs%2Bfunction.png



 On Friday, 3 April 2015 18:16:20 UTC+2, Jens wrote:

 GWT trunk supports Lambda, method references, static  default methods in 
 interfaces and intersection casts.

 It does not contain any Java8 API emulations so far but something like 
 button.addClickHandler((e) - Window.alert(click)); should work.

 To enable Java8 you have to use the -sourceLevel 1.8 parameter when 
 starting DevMode or CodeServer.

 -- J.



-- 
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: Is GWT trunk version supporting Java 8?

2015-04-07 Thread Marcin Okraszewski


Thank you, this is exactly what I was looking for. Though, I have a bit of 
a problem with passing the @JsFunction instances (regardless written as 
Java 8 lambda or more traditional implementation). The problem is that they 
are not seen the same way as JS function. In particular they don't have 
.apply() operation and JQuery is failing on such methods. 

https://lh3.googleusercontent.com/-VtD7rosVmJo/VSPumFYR2NI/FNk/xApHWNvRd38/s1600/apply.png


https://lh3.googleusercontent.com/-i8bsZ9YhYcs/VSPt8b_M9CI/FNc/cYkkeBMZz4Q/s1600/interop%2Bvs%2Bjs%2Bfunction.png



On Friday, 3 April 2015 18:16:20 UTC+2, Jens wrote:

 GWT trunk supports Lambda, method references, static  default methods in 
 interfaces and intersection casts.

 It does not contain any Java8 API emulations so far but something like 
 button.addClickHandler((e) - Window.alert(click)); should work.

 To enable Java8 you have to use the -sourceLevel 1.8 parameter when 
 starting DevMode or CodeServer.

 -- J.


-- 
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.


Is GWT trunk version supporting Java 8?

2015-04-03 Thread Marcin Okraszewski
Hi,
Is the trunk GWT version supporting Java 8 already? I'm still getting 
compilation errors when I try to use it, and I also don't see an option in 
DevMode to turn it on. 

The reason why I'm asking this and other questions is because I'll be 
giving a presentation on GWT, also including where GWT is going. I wanted 
to give a running sample as much as it is possible.

Thank you,
Marcin Okraszewski

-- 
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: Is GWT trunk version supporting Java 8?

2015-04-03 Thread Jens
GWT trunk supports Lambda, method references, static  default methods in 
interfaces and intersection casts.

It does not contain any Java8 API emulations so far but something like 
button.addClickHandler((e) - Window.alert(click)); should work.

To enable Java8 you have to use the -sourceLevel 1.8 parameter when 
starting DevMode or CodeServer.

-- J.

-- 
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 Trunk version

2009-07-02 Thread Fred Sauer
FLemming,
In general you should the trunk fairly stable. Many of us work off of trunk
for our project so as to get the latest features.

Fred


On Thu, Jun 25, 2009 at 12:34 PM, Flemming Boller flemming.bol...@gmail.com
 wrote:

 Hi

 I have had the pleasure of testing out the current trunk version of today
 (self built :-)

 anyway I thought perhaps any of you also had some experience to watch out
 for when upgrading my project of 1.6 - trunk.

 Any catches? or is smilies all over :-)



 Regards
 FLemming

 



-- 
Fred Sauer
f...@allen-sauer.com

[]

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
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
-~--~~~~--~~--~--~---



GWT Trunk version

2009-06-25 Thread Flemming Boller
Hi

I have had the pleasure of testing out the current trunk version of today
(self built :-)

anyway I thought perhaps any of you also had some experience to watch out
for when upgrading my project of 1.6 - trunk.

Any catches? or is smilies all over :-)



Regards
FLemming

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
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
-~--~~~~--~~--~--~---