ristretto

v0.27.0

v0.27.0 Dec 13 2025 at 06:48 UTC

Added

  • add jimage support
  • implement jdk.internal.misc.Unsafe
  • load classes using JImage
  • add java.lang.Class nestmate support
  • implement java.lang.invoke.MethodHandleNatives
  • implement java.lang.MethodHandle linkTo* methods
  • implement jdk/internal/misc/CDS.logLambdaFormInvoker(Ljava/lang/String;)V

Fixed

  • disable ansi colors in logs when not writing to the terminal
  • correct logic for determining the latest corretto release to account for missing OS packages
  • fixes endianness handling to be architecture aware instead of hardcoding
  • add check for java.lang.NegativeArraySizeException
  • correct Unsafe get/put primitive array support
  • update unsafe byte array to support all base types
  • correct Java 25 system property definitions

Other

  • move Gc<RwLock<>> from Reference to Value::Object()
  • address clippy errors
  • update rustdoc references to point to java 25
  • update java version in readme
  • update to java 25.0.0.36.1
  • update array references to Box<[T]> instead of Vec
  • update default java version to 25.0.1.8.1
  • improve GC safety with rooted objects
  • update java versions
  • update gc docs
  • simplify jit branch type casting
  • optimize jit tableswitch instruction
  • update jit docs
  • update Cargo.toml dependencies
  • remove unnecessary mutex and code generation from startup_trace macro