-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b67
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084300 | emb-9 | Kumar Srinivasan | P4 | Resolved | Fixed | team |
A recent upgrade of clang on OS X gives me this error:
/Users/staffan/mercurial/jdk9-hs-rt/jdk/src/java.base/share/native/launcher/main.c:132:21: error: comparison of array 'const_jargs' not equal to a null pointer is always true [-Werror,-Wtautological-pointer-compare]
(const_jargs != NULL) ? JNI_TRUE : JNI_FALSE,
^~~~~~~~~~~ ~~~~
1 error generated.
make[3]: *** [/Users/staffan/mercurial/jdk9-hs-rt/build/macosx-x86_64-normal-server-fastdebug/support/native/java.corba/idlj_objs/main.o] Error 1
/Users/staffan/mercurial/jdk9-hs-rt/jdk/src/java.base/share/native/launcher/main.c:132:21: error: comparison of array 'const_jargs' not equal to a null pointer is always true [-Werror,-Wtautological-pointer-compare]
(const_jargs != NULL) ? JNI_TRUE : JNI_FALSE,
^~~~~~~~~~~ ~~~~
1 error generated.
make[3]: *** [/Users/staffan/mercurial/jdk9-hs-rt/build/macosx-x86_64-normal-server-fastdebug/support/native/java.corba/idlj_objs/main.o] Error 1
- backported by
-
JDK-8084300 Compilation error with recent clang in java.base/share/native/launcher/main.c: error: comparison of array 'const_jargs' not equal to a null pointer is always true
-
- Resolved
-