Ah, right, depending on the system module is explicitely said to be an error, see http://community.jboss.org/wiki/HackingOnAS7, Appendix A.8. My guess is that that was basically having you consume some classes from the JDK directly, hence with different classloaders being involved.