This content has been marked as final.
Show 3 replies
-
1. Re: Java 8 Optional ?
mbarkley Jul 4, 2016 9:48 AM (in response to hr.stoyanov)Hi Hristo,
Currently Errai is using GWT 2.8.0-beta1 which does not have java.util.Optional, so there is no special handling of Optional. There won't be any special integration in of Optional in Errai until there is a new GWT release containing it.
-
2. Re: Java 8 Optional ?
baldram Jul 29, 2016 3:46 AM (in response to hr.stoyanov)1 of 1 people found this helpfulPlease see JDK emulation section of the change log for GWT 2.8.0 RC1 (pulished today).
gwt-site/release-notes.md at master · gwtproject/gwt-site · GitHub
The Java8 Optional feature has been introduced (Emulate Optional<T> and its int, long, double variants).
So it looks like it solves the issue
-
3. Re: Java 8 Optional ?
hr.stoyanov Aug 12, 2016 4:41 PM (in response to mbarkley)Max,
Gwt 2.8.0-RC1 already provides emulation for Optional