You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2017/02/04 10:57:52 UTC

[Bug 60688] Tomcat should skip or handle module-info.class when scanning for annotations

https://bz.apache.org/bugzilla/show_bug.cgi?id=60688

--- Comment #1 from Konstantin Kolinko <kn...@gmail.com> ---
It is not that "Tomcat should skip or ..". It is that the underlying byte code
parsing library (Apache Commons BCEL) does not know what is the meaning of
entries with code "19" in a constant pool.

It knows what "18" means (CONSTANT_InvokeDynamic), bot not about "19".

http://svn.apache.org/viewvc/commons/proper/bcel/tags/BCEL_6_0/src/main/java/org/apache/bcel/classfile/Constant.java?view=markup#l127

http://svn.apache.org/viewvc/commons/proper/bcel/tags/BCEL_6_0/src/main/java/org/apache/bcel/Const.java?view=markup#l280


This needs
- a reference to a class file format specification (JVM specification) for the
actual meaning of that code and

I expect the specs to be published here, but there is none for Java 9 yet:
http://docs.oracle.com/javase/specs/

- a bug report against BCEL library.

http://commons.apache.org/proper/commons-bcel/

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org