fixed code that compiles with ECJ but fails with JDK 1.8 ...