Re: RFR: 8344841: ClassPrinter prints confusing value for null [v2]

2024-11-25 Thread Adam Sotona
On Mon, 25 Nov 2024 07:35:58 GMT, Adam Sotona wrote: >> ClassPrinter prints `null` values as `String` "null" or as >> `String.valueOf(ConstantDescs.BSM_NULL_CONSTANT)`, based on context. >> >> This patch unifies handling of `null` values. >> They are now exclusively represented as `ConstantDesc

Re: RFR: 8344841: ClassPrinter prints confusing value for null [v2]

2024-11-25 Thread Chen Liang
On Mon, 25 Nov 2024 07:35:58 GMT, Adam Sotona wrote: >> ClassPrinter prints `null` values as `String` "null" or as >> `String.valueOf(ConstantDescs.BSM_NULL_CONSTANT)`, based on context. >> >> This patch unifies handling of `null` values. >> They are now exclusively represented as `ConstantDesc

Re: RFR: 8344841: ClassPrinter prints confusing value for null [v2]

2024-11-24 Thread Adam Sotona
> ClassPrinter prints `null` values as `String` "null" or as > `String.valueOf(ConstantDescs.BSM_NULL_CONSTANT)`, based on context. > > This patch unifies handling of `null` values. > They are now exclusively represented as `ConstantDescs.BSM_NULL_CONSTANT`. > In Json and Yaml format is `null` va

Re: RFR: 8344841: ClassPrinter prints confusing value for null

2024-11-22 Thread Chen Liang
On Fri, 22 Nov 2024 10:24:12 GMT, Adam Sotona wrote: > ClassPrinter prints `null` values as `String` "null" or as > `String.valueOf(ConstantDescs.BSM_NULL_CONSTANT)`, based on context. > > This patch unifies handling of `null` values. > They are now exclusively represented as `ConstantDescs.BSM

RFR: 8344841: ClassPrinter prints confusing value for null

2024-11-22 Thread Adam Sotona
ClassPrinter prints `null` values as `String` "null" or as `String.valueOf(ConstantDescs.BSM_NULL_CONSTANT)`, based on context. This patch unifies handling of `null` values. They are now exclusively represented as `ConstantDescs.BSM_NULL_CONSTANT`. In Json and Yaml format is `null` value printed