-
Bug
-
Resolution: Done
-
Major
-
None
the `jaxws-retail` quickstart executed on JDK11 as:
mvn clean install wildfly:deploy -Dmaven.compiler.target=11 -Dmaven.compiler.source=11 -Dmaven.test.failure.ignore=true
now throws:
[ERROR] WARNING: An illegal reflective access operation has occurred [ERROR] WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/home/jbliznak/.m2/repository/org/glassfish/jaxb/jaxb-runtime/2.3.0/jaxb-runtime-2.3.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) [ERROR] WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations [ERROR] WARNING: All illegal access operations will be denied in a future release
The problematic part is in JAXB component. There is a new version of JAXb that is fixing this https://github.com/javaee/jaxb-v2/releases/tag/2.3.1 (comit https://github.com/javaee/jaxb-v2/commit/9805bc91473a9f4dee95e7192998a5bbb61350f2) but it is not in maven central yet (https://github.com/javaee/jaxb-v2/issues/1213#issuecomment-422717074).
The fix for the quickstart is to use either new version of jbossws-cxf-client consuming this new JAXB version or explicit dependency to new JAXB in quickstart itself.
- clones
-
WFLY-11044 Quickstart jaxws-retail illegal access warning with JDK11
- Closed
- is blocked by
-
JBEAP-15655 Update to JAXB 2.3.1
- Closed
-
JBEAP-15832 Upgrade CXF to 3.2.8 or newer
- Closed
- is caused by
-
JBEAP-16570 (7.4.z) Banned dependency com.sun.xml.bind:jaxb-core in dependency management
- Closed
- is related to
-
JBEAP-15799 JDK11: wsconsume throws "An illegal reflective access" warnings
- Closed