Fixes #5657: make tests compile with Java 8
Merge pull request #58 from fanf/bug_5657/make_test_compile_on_java8

Fixes #5657: make tests compile with Java 8
Merge branch 'branches/rudder/2.6' into branches/rudder/2.10