myandpr opened a new pull request, #7145:
URL: https://github.com/apache/hadoop/pull/7145
<!--
Thanks for sending a pull request!
1. If this is your first time, please read our contributor guidelines:
https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute
2. Make sure your PR title starts with JIRA issue id, e.g.,
'HADOOP-17799. Your PR title ...'.
-->
### Description of PR
JIRA: [HADOOP-19318](https://issues.apache.org/jira/browse/HADOOP-19318).
JDK11 build fails with error: release version 1.8 not supported.
Fix compilation errors during the upgrade process, because sun.misc is not
supported after jdk11.
we replace sun.misc.Signal and sum.misc.SignalHandler using jnr-posix, so we
can proceed with the JDK 17 upgrade.
related JIRA: https://github.com/apache/hadoop/pull/7132
### How was this patch tested?
exist ut test
### For code changes:
replace sun.misc.Signal and sum.misc.SignalHandler using
jnr.constants.platform.Signal and jnr.posix.SignalHandler in jnr-posix
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]