QuiltMC / quilt-loader

The loader for Quilt mods.
Apache License 2.0
470 stars 86 forks source link

An interrupted thread can't load new classes #431

Open VidTu opened 4 months ago

VidTu commented 4 months ago

a simple mod like this one won't be able to load new classes if the current thread is interrupted. this does NOT happen on fabric. an interrupted thread should not do anything by design, but additional class-loading may still occur in rare cases. tested on quilt loader 0.25.0, 0.26.0-beta.1 (where the bug exists) and fabric 0.15.11 (where the bug does not exist). a -Dloader.workaround.jar_copy_all_mods=true JVM flag makes everything work once again.

AlexIIL commented 4 months ago

Similar to #339, but will need a slightly different fix.