< prev index next >

src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/SystemModulesPlugin.java

Print this page
rev 52456 : imported patch asm.additional

@@ -432,16 +432,16 @@
             }
         }
 
         boolean hasModulePackages() throws IOException {
             Set<String> packages = new HashSet<>();
-            ClassVisitor cv = new ClassVisitor(Opcodes.ASM6) {
+            ClassVisitor cv = new ClassVisitor(Opcodes.ASM7) {
                 @Override
                 public ModuleVisitor visitModule(String name,
                                                  int flags,
                                                  String version) {
-                    return new ModuleVisitor(Opcodes.ASM6) {
+                    return new ModuleVisitor(Opcodes.ASM7) {
                         public void visitPackage(String pn) {
                             packages.add(pn);
                         }
                     };
                 }
< prev index next >