@@ -0,0 +1,1043 @@
+package io.github.classgraph.issues.issue352;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Aimport java.io.File;%0Aimport java.io.IOException;%0Aimport java.util.List;%0A%0Aimport org.junit.Test;%0Aimport org.ops4j.pax.url.mvn.MavenResolvers;%0A%0Aimport io.github.classgraph.ClassGraph;%0Aimport io.github.classgraph.ScanResult;%0A%0A/**%0A * Unit test.%0A */%0Apublic class Issue352 %7B%0A    /** Test that module-info.class is not included in results. */%0A    @Test%0A    public void test() throws IOException %7B%0A        final File resolvedFile = MavenResolvers.createMavenResolver(null, null).resolve(%22com.sun.istack%22,%0A                %22istack-commons-runtime%22, null, null, %223.0.7%22);%0A        assertThat(resolvedFile).isFile();%0A%0A        try (ScanResult scanResult = new ClassGraph().overrideClasspath(resolvedFile)%0A                .whitelistPackagesNonRecursive(%22%22).enableClassInfo().scan()) %7B%0A            final List%3CString%3E classNames = scanResult.getAllClasses().getNames();%0A            assertThat(classNames).doesNotContain(%22module-info%22);%0A        %7D%0A    %7D%0A%7D%0A

Add unit test for #352