--- old/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java 2018-05-08 21:33:14.876212701 -0400 +++ new/src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/ClassWriter.java 2018-05-08 21:33:13.264119192 -0400 @@ -1881,8 +1881,6 @@ } poolbuf.appendChar(target.majorVersion); - // TODO: Need to skip this for Modules - not sure where - // that check really belongs, but this works. if (c.owner.kind != MDL) { if (target.hasNestmateAccess()) { acount += writeNestMembersIfNeeded(c);