support for Java version 8

Before this asm upgrade I got errors when building using jdk8 (even if taget version was lower).