No. A module by default does not export it's dependencies, only its own classes, and now the compiler is a dependency, not a part of this module itself. Your addition of this to the old io.undertow.servlet module was needed because the compiler classes were actually packaged in that module, not in a dependency.