ristretto

v0.20.0

v0.20.0 Jun 6 2025 at 23:06 UTC

Added

  • add jit support for ret and ret_w

Fixed

  • [breaking] update MaxLocals to correctly handle static/virtual methods and category 2 (long/double) types
  • update Version.supports() to take a reference to self
  • correct stack overflow error in java/lang/invoke/MethodHandleNatives.resolve(Ljava/lang/invoke/MemberName;Ljava/lang/Class;)Ljava/lang/invoke/MemberName;
  • corrected jit bug where float was being treated as a double in ldc and ldc_w instructions

Other

  • update Cargo.toml dependencies
  • improve attribute code coverage
  • improve classfile documentation
  • stub support for polymorphic intrinsic methods
  • add jit ldc, ldc_w, and ldc2_w error tests
  • improve jit ret_w code coverage
  • stub java.lang.invoke.DirectMethodHandle$Holder
  • rename native_methods module to intrinsic_methods