Details zu den Änderungen unter http://www.gwtproject.org/release-notes.html. Toll ist die Unterstützung von Java 8.
- Started using ES6 Maps when available for HashMap/HashSet that yields up 3x performance improvements.
- Partial support for Java 8 standard library APIs (see below for full list).
- Source level set to Java 8.
- Static and default methods in interfaces aren’t visible to generators. If you want to take advantage of those Java-8isms, you’re encouraged to switch to an annotation processor. This could break existing build if an interface is changed to turn a non-default method into a default method.
- Emulate
java.io.UncheckedIOException. - Emulate
Optional<T>and its int, long, double variants. - Emulate
Objects.requireNonNull()with message Supplier. - Fix Math.min/max(float/double) emulation behavior.
- Emulate
Character.isBmpCodePoint(). - Emulate
CharSequence.chars(). - Emulate
java.lang.SecurityException. - Emulate Java 8 API of
java.util.Arrays,java.util.ArrayDeque,java.math.BigInteger,java.util.BitSet,java.util.Comparator,java.util.function,java.util.Iterator,java.lang.Iterable,java.util.IntSummaryStatistics/LongSummaryStatistics/DoubleSummaryStatisticsjava.util.Collection/Lists/Queues,java.util.Map,java.util.logging.Logger,java.util.PrimitiveIterator,java.util.Spliterator,java.util.stream,java.util.StringJoiner