Description of problem:
An EJB which is compiled and deployed with Java7 works correct.
But if build and deployed with Java8 the deployment or start fail with the following cause:
Caused by: org.jboss.classfilewriter.InvalidBytecodeException: Cannot load variable at 1. Local Variables: Local Variables: [StackEntry [descriptor=Ljava/lang/String;, type=OBJECT]]