--- old/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java 2016-12-15 09:19:53.286889184 +0000 +++ new/src/jdk.compiler/share/classes/com/sun/tools/javac/comp/Attr.java 2016-12-15 09:19:53.173881453 +0000 @@ -4444,7 +4444,7 @@ ModuleSymbol msym = tree.sym; Lint lint = env.outer.info.lint = env.outer.info.lint.augment(msym); Lint prevLint = chk.setLint(lint); - + chk.checkModuleName(tree); chk.checkDeprecatedAnnotation(tree, msym); try {