Re: RFR: 8265356: need code example for getting canonical constructor of a Record [v2]

2021-05-01 Thread Tagir F . Valeev
On Sat, 24 Apr 2021 01:32:45 GMT, Tagir F. Valeev wrote: >> I decided to show a complete static method in the example, so it could be >> copied to user utility class as is. Not sure if it's reasonable to add >> `assert cls.isRecord();` there. Also I don't know whether there's a >> limitation

Re: RFR: 8265356: need code example for getting canonical constructor of a Record [v3]

2021-05-01 Thread Tagir F . Valeev
> I decided to show a complete static method in the example, so it could be > copied to user utility class as is. Not sure if it's reasonable to add > `assert cls.isRecord();` there. Also I don't know whether there's a > limitation on max characters in the sample code. Probable a line break in

Re: RFR: 8265356: need code example for getting canonical constructor of a Record [v2]

2021-04-30 Thread Stuart Marks
On Sat, 24 Apr 2021 01:32:45 GMT, Tagir F. Valeev wrote: >> I decided to show a complete static method in the example, so it could be >> copied to user utility class as is. Not sure if it's reasonable to add >> `assert cls.isRecord();` there. Also I don't know whether there's a >> limitation

Re: RFR: 8265356: need code example for getting canonical constructor of a Record

2021-04-23 Thread Tagir F . Valeev
On Tue, 20 Apr 2021 17:42:27 GMT, Stuart Marks wrote: >> I decided to show a complete static method in the example, so it could be >> copied to user utility class as is. Not sure if it's reasonable to add >> `assert cls.isRecord();` there. Also I don't know whether there's a >> limitation on

Re: RFR: 8265356: need code example for getting canonical constructor of a Record [v2]

2021-04-23 Thread Tagir F . Valeev
> I decided to show a complete static method in the example, so it could be > copied to user utility class as is. Not sure if it's reasonable to add > `assert cls.isRecord();` there. Also I don't know whether there's a > limitation on max characters in the sample code. Probable a line break in

Re: RFR: 8265356: need code example for getting canonical constructor of a Record

2021-04-20 Thread Stuart Marks
On Sat, 17 Apr 2021 08:55:59 GMT, Tagir F. Valeev wrote: > I decided to show a complete static method in the example, so it could be > copied to user utility class as is. Not sure if it's reasonable to add > `assert cls.isRecord();` there. Also I don't know whether there's a > limitation on

RFR: 8265356: need code example for getting canonical constructor of a Record

2021-04-17 Thread Tagir F . Valeev
I decided to show a complete static method in the example, so it could be copied to user utility class as is. Not sure if it's reasonable to add `assert cls.isRecord();` there. Also I don't know whether there's a limitation on max characters in the sample code. Probable a line break in `static