Re: [gwt-contrib] Java8 emulation

2015-03-25 Thread Colin Alworth
The trick seems to be that it is not going to be possible to add Java8 emul code without actually using Java8 - while lambdas can be avoided, defender methods cannot. If you need to provide a new interface like Consumer, the supersource *must* have the `default` method(s), or it won't actually be

Re: [gwt-contrib] Java8 emulation

2015-03-25 Thread John A. Tamplin
On Wed, Mar 25, 2015 at 11:33 AM, Colin Alworth niloc...@gmail.com wrote: The trick seems to be that it is not going to be possible to add Java8 emul code without actually using Java8 - while lambdas can be avoided, defender methods cannot. If you need to provide a new interface like

[gwt-contrib] Java8 emulation

2015-03-25 Thread Jens
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

Re: [gwt-contrib] Java8 emulation

2015-03-25 Thread John A. Tamplin
On Wed, Mar 25, 2015 at 11:16 AM, Jens jens.nehlme...@gmail.com 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

Re: [gwt-contrib] Re: Snapshot repo?

2015-03-25 Thread Julien Dramaix
Couldn't we configure sonatype to keep at least the last snapshot even if we don't update the repository (because the build failed) ? On Thu, Mar 19, 2015 at 5:45 PM 'Roberto Lublinerman' via GWT Contributors google-web-toolkit-contributors@googlegroups.com wrote: We are looking into it and

Re: [gwt-contrib] Re: Snapshot repo?

2015-03-25 Thread Ali Akhtar
Yes please. On Mar 25, 2015 9:30 PM, Julien Dramaix julien.dram...@gmail.com wrote: Couldn't we configure sonatype to keep at least the last snapshot even if we don't update the repository (because the build failed) ? On Thu, Mar 19, 2015 at 5:45 PM 'Roberto Lublinerman' via GWT

Re: [gwt-contrib] Re: Snapshot repo?

2015-03-25 Thread 'Roberto Lublinerman' via GWT Contributors
Build is green now. I am not sure about sonatype, let's wait for dankurka to chime in... On Wed, Mar 25, 2015 at 9:30 AM, Julien Dramaix julien.dram...@gmail.com wrote: Couldn't we configure sonatype to keep at least the last snapshot even if we don't update the repository (because the build

Re: [gwt-contrib] Java8 emulation

2015-03-25 Thread Jens
I think we make run presubmits with Java 8. Ok but then it is still with sourceLevel 1.7 by default. Here [1] is a presubmit log from february that complains about lambda, default methods and static interface methods. But that is just job setup in Jenkins. Its more interesting how to

Re: [gwt-contrib] Java8 emulation

2015-03-25 Thread 'Roberto Lublinerman' via GWT Contributors
I think we make run presubmits with Java 8. AFAIK presubmit only build the compiler (to see that is buildable) and run checkstyle. We will still run our main continuous build in Java 7 and there is an alternate continuous build with Java 8 (which is now broken). Can someone look at those

Re: [gwt-contrib] Re: Snapshot repo?

2015-03-25 Thread Ali Akhtar
It appears that the web bindery jars are still missing on sonatype? [ERROR] Non-resolvable import POM: Could not find artifact com.google. web.bindery:requestfactory:pom:2.8.0-SNAPSHOT in sonatype-nexus-snapshots ( https://oss.sonatype.org/content/repositories/snapshots) @

Re: [gwt-contrib] Java8 emulation

2015-03-25 Thread 'Goktug Gokdogan' via GWT Contributors
For Java8 emulation, what is my mind is to have Jens patch and have collection API improvements (Streams) to be available. There are few issues and steering committee is discussing (or will discuss) about it. See the discussion in

[gwt-contrib] Re: Snapshot repo?

2015-03-25 Thread Ali Akhtar
Ah, https://oss.sonatype.org/content/repositories/google-snapshots/ is the repo. Got it, working now. +1 in favor of not deleting the last working build, please. -- You received this message because you are subscribed to the Google Groups GWT Contributors group. To unsubscribe from this group

Re: [gwt-contrib] Re: Snapshot repo?

2015-03-25 Thread Ali Akhtar
Or it might be that the pom file is missing? It fails at Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/google/web/bindery/requestfactory/2.8.0-SNAPSHOT/requestfactory-2.8.0-SNAPSHOT.pom; If I use https://github.com/manolo/gwt-snapshot/ as a repo, it compiles without