This is a follow-up to an email discussion between manovotn and myself (and a few others). The WildFly test suite fails under Java 11 because of Weld's usage of Unsafe.defineClass, which was removed in Java 11. Previously
MODULES-360 was created to provide an alternative approach. Additionally, it is possible to use reflection to directly invoke ClassLoader.defineClass(*) if Unsafe is used to make the Method be accessible.
This problem blocks testing of WildFly on Java 11.