[
https://issues.apache.org/jira/browse/HADOOP-19318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895523#comment-17895523
]
ASF GitHub Bot commented on HADOOP-19318:
-----------------------------------------
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
> JDK11 build fails with error: release version 1.8 not supported
> ---------------------------------------------------------------
>
> Key: HADOOP-19318
> URL: https://issues.apache.org/jira/browse/HADOOP-19318
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 3.5.0
> Reporter: Ayush Saxena
> Assignee: Attila Doroszlai
> Priority: Major
>
> [JDK11
> build|https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java11-linux-x86_64/756/]
> is failing:
> {code:title=https://ci-hadoop.apache.org/job/hadoop-qbt-trunk-java11-linux-x86_64/756/artifact/out/patch-compile-root.txt}
> Fatal error compiling: error: release version 1.8 not supported
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]