Wednesday, February 15, 2017

compiler errors after upgrade to gwt 2.8.0

Hello,

after upgrading a project from GWT 2.7.0 to GWT 2.8.0 I and when compiling with the GWT compiler using the -strict option, I get a lot of errors like this:

   Tracing compile failure path for type 'java.util.stream.Stream'
      [ERROR] Errors in 'jar:file:/home/magnus/dvl/lib/gwt-2.8.0/gwt-user.jar!/com/google/gwt/emul/java/util/stream/Stream.java'
         [ERROR] Line 1113: The method naturalOrder() is undefined for the type Comparator
         [ERROR] Line 101: The method spliterator() is undefined for the type List<Stream<? extends T>>
         [ERROR] Line 1098: The method naturalOrder() is undefined for the type Comparator
         [ERROR] Line 1122: The method spliterator() is undefined for the type List<T>
         [ERROR] Line 181: The method stream() is undefined for the type Set<T>
         [ERROR] Line 85: The method stream(Object[]) is undefined for the type Arrays
         [ERROR] Line 185: The method stream(T[]) is undefined for the type Arrays

When switching back to GWT 2.7.0, the errors don't appear.

Unfortunately, the messages do not point in my code. So how do I have to modify my project in order to solve the problem?

Thanks
Magnus

--
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+unsubscribe@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.

No comments:

Post a Comment