You can still use Guava functional idioms in particular FluentIterable [1] 
gives you a more java8 feeling

[1] 
http://google.github.io/guava/releases/snapshot/api/docs/com/google/common/collect/FluentIterable.html

On 29/12/15 15:43, Paul Mazzuca wrote:
> It appears that you are correct.  I misread the posts the first time I 
> searched. Thanks for the quick clarification.
>
> On Tue, Dec 29, 2015 at 10:38 AM, Juan Pablo Gardella 
> <gardellajuanpa...@gmail.com <mailto:gardellajuanpa...@gmail.com>> wrote:
>
>     I think it's not supported in GWT 2.8:
>     - https://groups.google.com/forum/#!topic/google-web-toolkit/SuLcOTeJkyo 
> <https://groups.google.com/forum/#%21topic/google-web-toolkit/SuLcOTeJkyo>
>     - http://stackoverflow.com/questions/15693169/java-8-support-in-gwt
>
>     On 29 December 2015 at 12:30, Paul Mazzuca <paul.j.mazz...@gmail.com 
> <mailto:paul.j.mazz...@gmail.com>> wrote:
>
>         That reference is for the "latest", which I am assuming is still for 
> 2.7, not 2.8?
>
>         On Tue, Dec 29, 2015 at 10:26 AM, Juan Pablo Gardella 
> <gardellajuanpa...@gmail.com <mailto:gardellajuanpa...@gmail.com>> wrote:
>
>             stream() method is not mentioned in 
> http://www.gwtproject.org/doc/latest/RefJreEmulation.html#Package_java_util. 
> Maybe this is the reason.
>
>             On 29 December 2015 at 12:22, Paul Mazzuca 
> <paul.j.mazz...@gmail.com <mailto:paul.j.mazz...@gmail.com>> wrote:
>
>                 Any reason why I would be receiving a compiler error in the 
> code below?
>
>
>                 //compiles
>
>                 this.mybutton.addClickHandler(c -> _dosomething()_);
>
>
>
>                 //does not compile
>                 Arrays.asList("one", "two").stream();
>
>
>                 I am using the beta Maven release of GWT 2.8 with jdk 
> 1.8.0_60  and am using super dev mode.  
>
>
>                 This is either a compiler bug or a Generator has legitimately 
> stopped creating these types.
>                 [INFO]          Compiling 1 permutation
>                 [INFO]             Compiling permutation 0...
>                 [INFO]             [ERROR] An internal compiler exception 
> occurred
>                 [INFO] com.google.gwt.dev.jjs.InternalCompilerException: 
> Unexpected error during visit.
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:111)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:130)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:122)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:118)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JReturnStatement.traverse(JReturnStatement.java:40)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:146)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.acceptWithInsertRemove(JVisitor.java:168)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:92)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:127)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:139)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:135)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:83)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:127)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:122)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:730)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:722)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:146)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.acceptWithInsertRemoveImmutable(JVisitor.java:172)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JClassType.traverse(JClassType.java:142)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:127)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:122)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JProgram.visitModuleTypes(JProgram.java:1288)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JProgram.traverse(JProgram.java:1253)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:127)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:122)
>                 [INFO] at 
> com.google.gwt.dev.jjs.impl.ControlFlowRecorder.execImpl(ControlFlowRecorder.java:163)
>                 [INFO] at 
> com.google.gwt.dev.jjs.impl.ControlFlowRecorder.exec(ControlFlowRecorder.java:46)
>                 [INFO] at 
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.maybeRecordReferencesAndControlFlow(JavaToJavaScriptCompiler.java:474)
>                 [INFO] at 
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation(JavaToJavaScriptCompiler.java:352)
>                 [INFO] at 
> com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.compilePermutation(JavaToJavaScriptCompiler.java:272)
>                 [INFO] at 
> com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:198)
>                 [INFO] at 
> com.google.gwt.dev.ThreadedPermutationWorkerFactory$ThreadedPermutationWorker.compile(ThreadedPermutationWorkerFactory.java:50)
>                 [INFO] at 
> com.google.gwt.dev.PermutationWorkerFactory$Manager$WorkerThread.run(PermutationWorkerFactory.java:74)
>                 [INFO] at java.lang.Thread.run(Thread.java:745)
>                 [INFO] Caused by: java.lang.NullPointerException
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JMethod.getJsniSignature(JMethod.java:560)
>                 [INFO] at 
> com.google.gwt.dev.jjs.impl.ControlFlowRecorder.computeName(ControlFlowRecorder.java:50)
>                 [INFO] at 
> com.google.gwt.dev.jjs.impl.ControlFlowRecorder.processMethodCall(ControlFlowRecorder.java:195)
>                 [INFO] at 
> com.google.gwt.dev.jjs.impl.ControlFlowRecorder.visit(ControlFlowRecorder.java:158)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.visit(JVisitor.java:683)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JNewInstance.traverse(JNewInstance.java:73)
>                 [INFO] at 
> com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:127)
>                 [INFO] ... 32 more
>
>                 -- 
>                 You received this message because you are subscribed to the 
> Google Groups "GWT Users" group.
>                 To unsubscribe from this group and stop receiving emails from 
> it, send an email to google-web-toolkit+unsubscr...@googlegroups.com
>                 <mailto:google-web-toolkit+unsubscr...@googlegroups.com>.
>                 To post to this group, send email to 
> google-web-toolkit@googlegroups.com 
> <mailto:google-web-toolkit@googlegroups.com>.
>                 Visit this group at 
> https://groups.google.com/group/google-web-toolkit.
>                 For more options, visit https://groups.google.com/d/optout.
>
>
>             -- 
>             You received this message because you are subscribed to a topic 
> in the Google Groups "GWT Users" group.
>             To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/google-web-toolkit/FbTLVBfrFmM/unsubscribe.
>             To unsubscribe from this group and all its topics, send an email 
> to google-web-toolkit+unsubscr...@googlegroups.com 
> <mailto:google-web-toolkit+unsubscr...@googlegroups.com>.
>             To post to this group, send email to 
> google-web-toolkit@googlegroups.com 
> <mailto:google-web-toolkit@googlegroups.com>.
>             Visit this group at 
> https://groups.google.com/group/google-web-toolkit.
>             For more options, visit https://groups.google.com/d/optout.
>
>
>         -- 
>         You received this message because you are subscribed to the Google 
> Groups "GWT Users" group.
>         To unsubscribe from this group and stop receiving emails from it, 
> send an email to google-web-toolkit+unsubscr...@googlegroups.com 
> <mailto:google-web-toolkit+unsubscr...@googlegroups.com>.
>         To post to this group, send email to 
> google-web-toolkit@googlegroups.com 
> <mailto:google-web-toolkit@googlegroups.com>.
>         Visit this group at 
> https://groups.google.com/group/google-web-toolkit.
>         For more options, visit https://groups.google.com/d/optout.
>
>
>     -- 
>     You received this message because you are subscribed to a topic in the 
> Google Groups "GWT Users" group.
>     To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/google-web-toolkit/FbTLVBfrFmM/unsubscribe.
>     To unsubscribe from this group and all its topics, send an email to 
> google-web-toolkit+unsubscr...@googlegroups.com 
> <mailto:google-web-toolkit+unsubscr...@googlegroups.com>.
>     To post to this group, send email to google-web-toolkit@googlegroups.com 
> <mailto:google-web-toolkit@googlegroups.com>.
>     Visit this group at https://groups.google.com/group/google-web-toolkit.
>     For more options, visit https://groups.google.com/d/optout.
>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to google-web-toolkit+unsubscr...@googlegroups.com 
> <mailto:google-web-toolkit+unsubscr...@googlegroups.com>.
> To post to this group, send email to google-web-toolkit@googlegroups.com 
> <mailto:google-web-toolkit@googlegroups.com>.
> Visit this group at https://groups.google.com/group/google-web-toolkit.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to