Question

3
Replies
234
Views
EugeneR7 Member since 2013 30 posts
Deutsche Bank
Posted: February 1, 2019
Last activity: April 1, 2019
Closed

Java 8 - lambda expressions

Is it planned to get the code base to support Java 8 natively? We were doing some testing and we noticed that while we are running on JDK 1.8, we are not allowed to use lambda expressions.

Currently we are on Pega 7.3.1, however I understand that as of Pega8, Java <1.7 will no longer be certified.

When saving an activity with such an example, the following error pops up:

The method forEach ((<no type>it)->{} is undefined for the type Iterator
Lambda expressions are allowed only at source level 1.8 or above
Compile failed

Data Integration Java and Activities
Moderation Team has archived post
Share this page LinkedIn