Class.getRecordComponent() javadoc doesn't specify its behavior if the accessor of a record component is not present

Harold Seigel harold.seigel at oracle.com
Thu Oct 10 19:55:26 UTC 2019


The VM should throw a NoSuchMethodError exception in that case?

Thanks, Harold

On 10/10/2019 3:42 PM, Vicente Romero wrote:
> that shouldn't happen, the compiler would generate the accessor if not 
> present, I guess the VM should verify for that too
>
> Vicente
>
> On 10/10/19 2:36 PM, Remi Forax wrote:
>> As the title says,
>> Class.getRecordComponent() javadoc doesn't specify its behavior if 
>> the accessor of a record component is not present.
>>
>> regards,
>> Rémi
>


More information about the amber-dev mailing list