File Details
monkeypatches-0.4.2.jar
- R
- Aug 3, 2025
- 48.03 KB
- 34
- 1.21.1
- NeoForge
File Name
monkeypatches-0.4.2.jar
Supported Versions
- 1.21.1
Curse Maven Snippet
Added
- Rhino PR57 patch for object signature parsing in arrays
- ClassFileWriterMixin: Fixes the
sizeOfParametersmethod to properly parse object signatures in bytecode - Prevents parsing failures when object types appear within array signatures (e.g.,
[Ljava/lang/String;) - Overwrites the entire method with the fixed implementation from upstream PR
- Only loads when Rhino mod is present (no configuration option due to early loading)
- ClassFileWriterMixin: Fixes the
Technical Details
- Fixes the 'L' case handling in signature parsing that was falling through to default
- Adds proper semicolon detection and bounds checking for object type signatures
- Uses @Overwrite mixin to replace the buggy method entirely

