SpongePowered / Mixin

Mixin is a trait/mixin and bytecode weaving framework for Java using ASM
MIT License
1.41k stars 194 forks source link

Java 23 support #682

Closed Mukul1127 closed 1 day ago

Mukul1127 commented 1 day ago

Hi maintainers, Java 23 is generally available now but it semes that you can't use it on SpongeMixin 0.8.7 as ASM is only updated for Java 21 (ASM 9.5), I believe updating ASM to version 9.7 will fix this. Would you consider this? (Don't know if you plan to support non-LTS Java versions)

zml2008 commented 1 day ago

Mixin can use any version of ASM, runtime support depends on your environment (Fabric, Forge, NeoForge, etc)

Mukul1127 commented 1 day ago

Okay, I was looking at this file: https://github.com/SpongePowered/Mixin/blob/master/gradle.properties

Mukul1127 commented 1 day ago

Nvm theres a reason fabric doesn't support it, https://github.com/FabricMC/fabric-loader/issues/976#issuecomment-2356625536