ModuleNameAndVersionQuery vs CONSTANT_ModuleQuery_Info
Mandy Chung
mandy.chung at oracle.com
Wed Jan 25 13:10:51 PST 2012
Alex,
In a 'requires' clause, version is optional. It seems that
the version_index in the CONSTANT_ModuleQuery_info structure
should be zero in that case as in the CONSTANT_ModuleId_info
But the spec for the CONSTANT_ModuleQuery_info structure requires
the version_index be a valid index into the constant_pool table.
A spec bug?
Mandy
More information about the jigsaw-dev
mailing list