On Tue, 29 Jul 2025 11:58:50 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:

>> src/java.base/share/classes/java/lang/Class.java line 1012:
>> 
>>> 1010:     private transient Object[] signers; // Read by VM, mutable
>>> 1011:     private final transient char modifiers;  // Set by the VM
>>> 1012:     private final transient char rawAccessFlags;  // Set by the VM
>> 
>> I suggest `classFileFlags` in the spirit of `getClassFileVersion` - this is 
>> the flag on the JVMS 4 `ClassFile` structure, while the `modifiers` can be 
>> alternatively from `InnerClasses` attribute.
>
> This is a good suggestion but I made it Raw to match getRawClassAnnotations 
> this name.

Thanks for the rename. I think `raw annotations` means the uninterpreted byte 
data in the attribute is carried over raw; this concept is less applicable to 
the access_flags u2 value.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/26517#discussion_r2240075254

Reply via email to