Ash Lea ashkitten · she/it
2 followers · 0 following
Block user

Please note that blocking a user has other effects, such as:

  • You will stop following each other and will not be able to follow each other.
  • This user will not be able to interact with the repositories you own, or the issues and comments you have created.
  • You will not be able to add each other as repository collaborators.
// Preload all classes in ClassGraph to avoid invoking the classloader, which would cause a deadlock under Kilt
ClassLoader cl = Thread.currentThread().getContextClassLoader();
ZipInputStream zip = new ZipInputStream(Objects.requireNonNull(MixinGenericsCoreMod.class.getResourceAsStream("/META-INF/jarjar/classgraph-4.8.189.jar")));
for (ZipEntry entry = zip.getNextEntry(); entry != null; entry = zip.getNextEntry()) {
    if (!entry.isDirectory() && entry.getName().endsWith(".class")) {
        String className = entry.getName().replace(".class", "").replace('/', '.');
        try {
            cl.loadClass(className);
        } catch (ClassNotFoundException | NoClassDefFoundError ignored) {}
    }
}