On Wed, Mar 25, 2015 at 11:16 AM, Jens <[email protected]> wrote:
> 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. > Adding new classes should be pretty straightforward. > 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? > That would be my vote - we don't want to force people to use Java8 just yet. -- John A. Tamplin -- 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/CAM5k6X-xtnTX_xXPPr4M9AsFP_qNQHZU_9k_VJP5o4ZjLYknWw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
