implementation for java.lang.reflect.RecordComponent

Vicente Romero vicente.romero at oracle.com
Fri Oct 4 23:36:16 UTC 2019


Hi,

I have pushed which is the first stab in the implementation of 
java.lang.reflect.RecordComponent, see full code at [1]. I have also 
removed method Class::getRecordAccessors, in favor or 
Class::getRecordComponents. The former method was being used by 
serialization to get the canonical constructor, but adapting the 
serialization code to the new API shouldn't be too painful. Kudos to 
Harold for the support he provided in the VM runtime.

Thanks,
Vicente

[1] 
http://hg.openjdk.java.net/amber/amber/file/df2722d9f9d0/src/java.base/share/classes/java/lang/reflect/RecordComponent.java


More information about the amber-dev mailing list