David Handermann created NIFI-9067:
--------------------------------------

             Summary: 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


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)

Reply via email to