ristretto

v0.14.0

v0.14.0 Mar 4 2025 at 00:43 UTC

Added

  • implement jdk.internal.reflect.ConstantPool
  • implement reflection constructors and methods
  • add java.lang.Class reflection annotations for fields, constructors and methods
  • implement java.io.Console encoding() and istty()
  • add java.lang.Class reflection signatures for fields, constructors and methods
  • implement sun.reflect.ConstantPool
  • implement jdk.internal.reflect.ConstantPool
  • implement java.lang.Class.getConstantPool()
  • implement java.lang.Class getRawAnnotations()[B and getRawTypeAnnotations()[B

Fixed

  • correct jdk.internal.misc.Unsafe get_reference_type() byte array types
  • update java.lang.Class.getSuperclass() to return null
  • correct field and method annotation length encoding
  • return stub boot ModuleLayer
  • correct invokespecial to handle interface methods
  • correct handling of null annotations
  • correct class annotation modifier
  • correct java.lang.Class.getModifiers() to return ENUM flag
  • correct bugs in java.lang.Class.getSuperclass()

Other

  • update Cargo.toml dependencies