test that shows Eclipse compilation issue with java8