included IncompatibleClassChangeError to handle classes, which are included in a jar to provide backward compatibility.

This commit is contained in:
vk2gpz 2024-08-27 09:20:03 +10:00
parent 272e2e7904
commit 0b1446a9b1

View File

@ -63,7 +63,7 @@ public class FileUtil {
if (clazz.isAssignableFrom(loaded)) { if (clazz.isAssignableFrom(loaded)) {
classes.add(loaded.asSubclass(clazz)); classes.add(loaded.asSubclass(clazz));
} }
} catch (final NoClassDefFoundError ignored) { } catch (final NoClassDefFoundError | IncompatibleClassChangeError ignored) {
} }
} }
} }