Currently the Eclipse JDT compiler is exposed to web applications because the undertow servlet module exposes all its dependencies.
This can break applications that ship their own version of the Eclipse JDT compiler like the Cocoon web framework.
This seems to be a regression. It was already fixed once in
WFLY-1770 but seems to be an issue again since undertow JSP is now once again one instead of two modules.