Mixin
Mixin copied to clipboard
Move ServiceLoader.iterator.hasNext call inside the try...catch in MixinService
This is because ServiceLoader.iterator may attempt to load services during either hasNext or next, however only the second call was being caught correctly.
Similar logic should probably be applied to every call, however there's quite a few of them and only this particular one caused a crash for me.