Re: RFR: 8287363: null pointer should use NULL instead of 0

2022-05-29 Thread Alan Bateman
On Sat, 28 May 2022 03:31:30 GMT, Yasumasa Suenaga wrote: > We found using `0` as `NULL` in java_md_common.c . `0` is not a pointer, so > we should use `NULL` where we want to handle it. > > https://github.com/openjdk/jdk/pull/8646#discussion_r882294076 > > Also I found using `0` as NUL char

Re: RFR: 8287363: null pointer should use NULL instead of 0

2022-05-29 Thread Thomas Stuefe
On Sat, 28 May 2022 03:31:30 GMT, Yasumasa Suenaga wrote: > We found using `0` as `NULL` in java_md_common.c . `0` is not a pointer, so > we should use `NULL` where we want to handle it. > > https://github.com/openjdk/jdk/pull/8646#discussion_r882294076 > > Also I found using `0` as NUL char

Re: RFR: 8287363: null pointer should use NULL instead of 0

2022-05-28 Thread Kim Barrett
On Sat, 28 May 2022 03:31:30 GMT, Yasumasa Suenaga wrote: > We found using `0` as `NULL` in java_md_common.c . `0` is not a pointer, so > we should use `NULL` where we want to handle it. > > https://github.com/openjdk/jdk/pull/8646#discussion_r882294076 > > Also I found using `0` as NUL char

Re: RFR: 8287363: null pointer should use NULL instead of 0

2022-05-28 Thread kristylee88
On Sat, 28 May 2022 03:31:30 GMT, Yasumasa Suenaga wrote: > We found using `0` as `NULL` in java_md_common.c . `0` is not a pointer, so > we should use `NULL` where we want to handle it. > > https://github.com/openjdk/jdk/pull/8646#discussion_r882294076 > > Also I found using `0` as NUL char

RFR: 8287363: null pointer should use NULL instead of 0

2022-05-28 Thread Yasumasa Suenaga
We found using `0` as `NULL` in java_md_common.c . `0` is not a pointer, so we should use `NULL` where we want to handle it. https://github.com/openjdk/jdk/pull/8646#discussion_r882294076 Also I found using `0` as NUL char in java_md_common.c , so I replaced it to `\0` in this PR.