WW-4345 Reverts the commit 8aa4fe860693d29e5ef94026bf2a7532ed74b9ea
WW-4347 Adds support for JDK8 lambdas