You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/09/07 17:29:00 UTC

[jira] [Commented] (NIFI-9067) Upgrade JAXB Dependencies for Java 11

    [ https://issues.apache.org/jira/browse/NIFI-9067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17411378#comment-17411378 ] 

ASF subversion and git services commented on NIFI-9067:
-------------------------------------------------------

Commit f5a421ccb13e853d89f1fa3e648d49b62a19e3ed in nifi's branch refs/heads/main from David Handermann
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=f5a421c ]

NIFI-9067 Upgraded JAXB Runtime from 2.3.0 to 2.3.5

- Replaced old com.sun.xml.bind:jaxb-impl and jaxb-core with current org.glassfish.jaxb:jaxb-runtime
- Replaced old javax.xml.bind:jaxb-api with current jakarta.xml.bind-api
- Removed unnecessary dependency references to javax.activation-api

This closes #5320

Signed-off-by: Mike Thomsen <mt...@apache.org>


> Upgrade JAXB Dependencies for Java 11
> -------------------------------------
>
>                 Key: NIFI-9067
>                 URL: https://issues.apache.org/jira/browse/NIFI-9067
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>    Affects Versions: 1.14.0, 1.15.0
>         Environment: Java 11
>            Reporter: David Handermann
>            Assignee: David Handermann
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Running NiFi on Java 11 produces the following illegal reflective access warnings related to JAXB 2.3.0:
> {noformat}
> [NiFi logging handler] ERROR org.apache.nifi.StdErr - WARNING: An illegal reflective access operation has occurred
> [NiFi logging handler] ERROR org.apache.nifi.StdErr - WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/home/runner/work/nifi/nifi/nifi-system-tests/nifi-system-test-suite/target/nifi-lib-assembly/lib/java11/jaxb-impl-2.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
> [NiFi logging handler] ERROR org.apache.nifi.StdErr - WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector
> {noformat}
> This does not impact runtime behavior on Java 11, but indicates an issue that will cause problems on newer versions of Java. Recent versions of JAXB should resolve this warning.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)