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