It appears that when one installs the groovy-all-2.0.1-indy.jar in a
Tomcat web app, BCEL chokes on the Java 7 specific byte-code therein ala
org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag
in constant pool: 15
at
org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:131)
at
org.apache.tomcat.util.bcel.classfile.ConstantPool.<init>(ConstantPool.java:60)
at
org.apache.tomcat.util.bcel.classfile.ClassParser.readConstantPool(ClassParser.java:209)
at
org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:119)
at
org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2066)
...
Is there an update planned to make org.apache.tomcat.util.bcel savvy to
Java 7 or replace it with ASM (which is fully Java 7 savvy)? [Please!]
Until then, can I completely exclude this jar from annotation scanning?
--
Jess Holle