getting Invalid byte tag in constant pool : 19

老子叫甜甜 提交于 2019-12-06 04:34:25

A constant pool entry with tag type 19 is a module descriptor; see JVM spec table 4.4-A. I think you have attempted to use BCEL on a class compiled with a Java 9 (or later) compiler:

  • The BCEL version you are using doesn't understand the tag.
  • The class wouldn't load in a Java 8 JVM anyway. Modules were only introduced in Java 9, and the class file's major version number should be too recent for a Java 8 JVM.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!