Bryan Bende created NIFIREG-430:
-----------------------------------
Summary: NiFi Registry fails to start when running on first JDK 11
version
Key: NIFIREG-430
URL: https://issues.apache.org/jira/browse/NIFIREG-430
Project: NiFi Registry
Issue Type: Bug
Affects Versions: 0.8.0, 0.7.0, 0.6.0
Reporter: Bryan Bende
{code:java}
if (Integer.parseInt(runtimeJavaVersion.substring(0,
runtimeJavaVersion.indexOf('.'))) >= 11) {{code}
When runtimeJavaVersion is just "11", then the above code throws an index out
of bounds exception.
Apply same fix from - https://issues.apache.org/jira/browse/NIFI-7687
--
This message was sent by Atlassian Jira
(v8.3.4#803005)