Update to java8 features

parent 4acfd711
Pipeline #3091 failed with stage