#1145 "Use type resolution" does not work
Fix unit test: In order to compile enums, at least Java 1.5 needs to be configured