[
https://issues.apache.org/jira/browse/NIFI-5175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeff Storck updated NIFI-5175:
------------------------------
Description:
The following issues have been encountered while attempting to run a Java
1.8-built NiFi on Java 9:
||Issue||Solution||
|Java 9 ServiceLoader requires providers have a default no-arg public
constructor|Add no-arg public constructors|
|NiFI boostrap not able to determine PID, restarts nifi after nifi.sh
stop|Detect if NiFi is running on Java 9, and reflectively invoke
Process.pid(), which was newly added to the Process API in Java 9|
----
||Unaddressed issues/warnings with NiFi compiled on Java 1.8 running on Java
9+||Description||Solution||
|WARNING: An illegal reflective access operation has occurred|Reflective
invocations are common in the code used in NiFi and its dependencies on Java
1.8|Full migration to Java 9 and using dependencies that are Java 9 compilant|
was:
The following issues have been encountered while attempting to run a Java
1.8-built NiFi on Java 9:
||Issue||Solution||
|Java 9 ServiceLoader requires providers have a default no-arg public
constructor|Add no-arg public constructors|
|NiFI boostrap not able to determine PID, restarts nifi after nifi.sh
stop|Detect if NiFi is running on Java 9, and reflectively invoke
Process.pid(), which was newly added to the Process API in Java 9|
\\
----
\\
||Unaddressed issues of NiFi compiled on Java 1.8 running on Java
9+||Description||Solution||
|WARNING: An illegal reflective access operation has occurred|Reflective
invocations are common in the code used in NiFi and its dependencies on Java
1.8|Full migration to Java 9 and using dependencies that are Java 9 compilant|
> NiFi built with Java 1.8 needs to run on Java 9
> -----------------------------------------------
>
> Key: NIFI-5175
> URL: https://issues.apache.org/jira/browse/NIFI-5175
> Project: Apache NiFi
> Issue Type: Sub-task
> Reporter: Jeff Storck
> Assignee: Jeff Storck
> Priority: Major
>
> The following issues have been encountered while attempting to run a Java
> 1.8-built NiFi on Java 9:
> ||Issue||Solution||
> |Java 9 ServiceLoader requires providers have a default no-arg public
> constructor|Add no-arg public constructors|
> |NiFI boostrap not able to determine PID, restarts nifi after nifi.sh
> stop|Detect if NiFi is running on Java 9, and reflectively invoke
> Process.pid(), which was newly added to the Process API in Java 9|
>
> ----
>
> ||Unaddressed issues/warnings with NiFi compiled on Java 1.8 running on Java
> 9+||Description||Solution||
> |WARNING: An illegal reflective access operation has occurred|Reflective
> invocations are common in the code used in NiFi and its dependencies on Java
> 1.8|Full migration to Java 9 and using dependencies that are Java 9 compilant|
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)