| JDK 19 | JDK 20 |
|---|---|
| 19 masterFixed | 20Fixed |
|
Relates :
|
gcc version 9.4.0 (also 9.3.1) produces build warning after JDK-8214976:
os_posix.cpp:786:34: error: call to 'exit' declared with attribute warning: use os::exit [-Werror=attribute-warning]
786 | ALLOW_C_FUNCTION(::exit, ::exit(num);)
| ~~~~~~^~~~~
Workaround: Use configure flag --disable-warnings-as-errors
|