Does Google App Engine's Java8 runtime support Stream API?

Viewed 440

I have a project that use AppEngine 1.9.54 on server and GWT 2.8 on client. When I use the Stream API on server side it always threw this exception:

java.lang.NoClassDefFoundError: java.util.stream.Collectors is a restricted class. Please see the Google  App Engine developer's guide for more details.

The code that use Stream API on client is ok, just the server side code. Does GAE java8 runtime support Stream API?

0 Answers
Related