On Thu, 17 Mar 2022 10:46:35 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:

>> As mentioned in the issue, I'd like to perform the following tidying on 
>> ClassLoader.c
>> 
>> - Alphabetize includes.
>> - Replace 'if (ptr == 0)' with 'if (ptr == NULL)'.
>> - Replace 'return 0' with 'return NULL'.
>
> src/java.base/share/native/libjava/ClassLoader.c line 27:
> 
>> 25: 
>> 26: #include <assert.h>
>> 27: #include <errno.h>
> 
> Whats errno.h for?

Thanks for catching that. It was for [the other 
PR](https://github.com/openjdk/jdk/pull/7829).

-------------

PR: https://git.openjdk.java.net/jdk/pull/7846

Reply via email to