Hi, 

whats the current situation of adding Java8 emulations to GWT?

I would like to fix the current emulation of @FunctionalInterface (wrong 
package and missing imports), add java.util.Optional[Int|Long|Double] 
emulation and like to see java.util.function interfaces in trunk committed. 
That would allow us to further work on stream API emulation which would be 
nice to have in GWT 2.8, right? Just having Java8 syntax support seems a 
little weak to me for a new release.

Currently my patch for java.util.function can not be verified by Jenkins 
because it runs the presubmit task with sourceLevel 1.7 (and Java7 I 
think). So I assume that the next GWT release should be compatible to 
Java7. 

Does this mean that any emulation of Java8 APIs should be done using Java7 
syntax ( = no lambdas in emulation code) ? What about default methods in 
emulated code when people use JDK 7 with GWT? 

So how should Java8 emulations be contributed? 


-- J.

-- 
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/5f24150d-df54-420a-b9af-910df926ccf0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to