JVM Specification Error

Li Hao Su codercooler at gmail.com
Mon Dec 6 04:38:25 UTC 2021


According to the Module Attribute
<https://docs.oracle.com/javase/specs/jvms/se17/html/jvms-4.html#jvms-4.7.25>
:
>
> opens_to_count
> ......
> If opens_to_count is nonzero, then this package is opened by the current
> module in a *qualified* fashion; only code in the modules listed in the exports_to_index
> table may reflectively access the types and members in the package.


I think it should be the opens_to_index table, not the exports_to_index
table.


More information about the jls-jvms-spec-comments mailing list