BridJ: fix compilation of template-generated test with jdk8