The current draft spec of strict fields has been updated and the new field access flag indicating that a field is strict is now define like this:
ACC_STRICT_INIT (0x0800)
This flag repurposes the value of the old method flag ACC_STRICT with a different name and a different meaning.
Javac code has already be updated to use the new name.
The JVM however, is still using the same name ACC_STRICT for both the old and the new meaning. This could lead to some confusion, because of the two different purposes of ACC_STRICT, and because of the discrepancy between Hotspot and javac code.
Once the JEP has been finalized, a new ACC_STRICT_INIT should be declared in classfile_constant.h and used in places where the flag is used to identify strict fields.
ACC_STRICT_INIT (0x0800)
This flag repurposes the value of the old method flag ACC_STRICT with a different name and a different meaning.
Javac code has already be updated to use the new name.
The JVM however, is still using the same name ACC_STRICT for both the old and the new meaning. This could lead to some confusion, because of the two different purposes of ACC_STRICT, and because of the discrepancy between Hotspot and javac code.
Once the JEP has been finalized, a new ACC_STRICT_INIT should be declared in classfile_constant.h and used in places where the flag is used to identify strict fields.