On 01/07/2017 16:08, Stephan Herrmann wrote:
compile an arbitrary module-info.java and then:

$ javap module-info.class
Error: error while reading constant pool for /tmp/bin/module-info.class: unexpected tag at #5: 19

From tweaking the Eclipse compiler it seems that javap is expecting a CONSTANT_Utf8_info,
where according to JVMS 4.7.25 a CONSTANT_Module_info is required.
It would be interesting to see if the runtime can read this, does "java -p /tmp/bin --list-modules" list the module?

-Alan

Reply via email to