[
https://issues.apache.org/jira/browse/NIFI-7350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17080533#comment-17080533
]
Joe Witt commented on NIFI-7350:
--------------------------------
Confirmed both 8 and 11 builds of adoptopenjdk work when using the hotspot JDK.
They both fail with the above using the openj9 compiler.
> Unable to build NiFi using adoptopenjdk 8 or 11 with openj9
> -----------------------------------------------------------
>
> Key: NIFI-7350
> URL: https://issues.apache.org/jira/browse/NIFI-7350
> Project: Apache NiFi
> Issue Type: Test
> Environment: ➜ nifi-framework-core git:(master) mvn -version
> Apache Maven 3.6.3 ()
> Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
> Java version: 1.8.0_242, vendor: Eclipse OpenJ9, runtime:
> /Library/Java/JavaVirtualMachines/adoptopenjdk-8-openj9.jdk/Contents/Home/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.15.4", arch: "x86_64", family: "mac"
> Reporter: Joe Witt
> Priority: Major
>
> [ERROR] Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
> 0.055 s <<< FAILURE! - in org.apache.nifi.util.ReflectionUtilsTest
> [ERROR]
> validateFailureWithWrongArgumentType(org.apache.nifi.util.ReflectionUtilsTest)
> Time elapsed: 0.002 s <<< ERROR!
> java.lang.Exception: Unexpected exception,
> expected<java.lang.IllegalArgumentException> but
> was<java.lang.reflect.InvocationTargetException>
> at
> org.apache.nifi.util.ReflectionUtilsTest.validateFailureWithWrongArgumentType(ReflectionUtilsTest.java:71)
> Caused by: java.lang.ClassCastException: java.lang.String incompatible with
> java.lang.Integer
> at
> org.apache.nifi.util.ReflectionUtilsTest.validateFailureWithWrongArgumentType(ReflectionUtilsTest.java:71)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)