[
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||Status||
|JAXB classes cannot be found on the classpath|Start NiFi with
--add-modules=java.xml.bind|Done|
|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|Done|
----
||Unaddressed issues/warnings with NiFi compiled on Java 1.8 running on Java
9+||Description||Solution||
|WARNING: An illegal reflective access operation has occurred
..._specific class usage snipped_...
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future
release|Reflective invocations are common in the code used in NiFi and its
dependencies on Java 1.8|Full compliant migration to Java 9 and use
dependencies that are Java 9 compliant|
was:
The following issues have been encountered while attempting to run a Java
1.8-built NiFi on Java 9:
||Issue||Solution||Status||
|Java 9 ServiceLoader requires providers have a default no-arg public
constructor|Add no-arg public constructors|In Progress|
|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|Done|
----
||Unaddressed issues/warnings with NiFi compiled on Java 1.8 running on Java
9+||Description||Solution||
|WARNING: An illegal reflective access operation has occurred
..._specific class usage snipped_...
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future
release|Reflective invocations are common in the code used in NiFi and its
dependencies on Java 1.8|Full compliant migration to Java 9 and use
dependencies that are Java 9 compliant|
> 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||Status||
> |JAXB classes cannot be found on the classpath|Start NiFi with
> --add-modules=java.xml.bind|Done|
> |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|Done|
>
> ----
>
> ||Unaddressed issues/warnings with NiFi compiled on Java 1.8 running on Java
> 9+||Description||Solution||
> |WARNING: An illegal reflective access operation has occurred
> ..._specific class usage snipped_...
> WARNING: Use --illegal-access=warn to enable warnings of further illegal
> reflective access operations
> WARNING: All illegal access operations will be denied in a future
> release|Reflective invocations are common in the code used in NiFi and its
> dependencies on Java 1.8|Full compliant migration to Java 9 and use
> dependencies that are Java 9 compliant|
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)