On Wed, 16 Mar 2022 21:25:37 GMT, Tyler Steele <d...@openjdk.java.net> 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'. Looks good in general. Question inline. src/java.base/share/native/libjava/ClassLoader.c line 27: > 25: > 26: #include <assert.h> > 27: #include <errno.h> Whats errno.h for? ------------- PR: https://git.openjdk.java.net/jdk/pull/7846