ristretto

v0.30.0

v0.30.0 Mar 23 2026 at 03:23 UTC

Added

  • implement sockets
  • implement java/lang/Class.getProtectionDomain0()Ljava/security/ProtectionDomain;
  • implement jdk/internal/jimage/NativeImageBuffer.getNativeMap(Ljava/lang/String;)Ljava/nio/ByteBuffer;
  • implement java/util/jar/JarFile
  • implement java/util/zip/ZipFile
  • implement java/lang/ProcessBuilder
  • implement java/lang/Compiler
  • implement jdk/internal/perf/Perf
  • implement sun/nio/fs/WindowsNativeDispatcher
  • implement java/lang/invoke/VarHandle
  • implement threading
  • implement java/lang/Package
  • implement java/lang/StringCoding.err(Ljava/lang/String;)V
  • implement java/util/logging/FileHandler.isSetUID()Z
  • implement jdk/internal/misc/VM.getNanoTimeAdjustment(J)J
  • implement java/util/prefs/FileSystemPreferences
  • implement jdk/net/WindowsSocketOptions
  • implement sun/misc/URLClassPath
  • implement java/lang/UNIXProcess
  • implement java/lang/StackStreamFactory

Fixed

  • add areturn class file verification
  • correct manifest to handle line continuations
  • add system property jdk.module.illegal.native.access=allow
  • correct java/lang/reflect/Array boxing, widening and error handling
  • correct java/lang/Class.forName0 to support custom class loaders
  • unify file java.io and java.nio file handles
  • update nio to use async file io
  • improve interface method resolution and MethodHandle dispatch

Other

  • [breaking] correct java.lang.String to comply with the JVM specification
  • [breaking] optimize class file reading
  • update intrinsic method java versions
  • update unimplemented intrinsic functions to return java.lang.UnsatisfiedLinkError
  • update Cargo.toml dependencies
  • update intrinsic functions to support configuration macros
  • optimize native memory access
  • update to rust 1.94.0
  • update cranelift=0.130.0
  • enable all release compiler optimizations
  • update macos builds to use macos 26
  • update dist=0.31.0
  • update test profile