Releases: theseus-rs/ristretto
Releases Β· theseus-rs/ristretto
v0.11.1
π Bug fixes
- add java.lang.Class.getComponentType()Ljava/lang/Class; for Java 8 (#130)
- enable legacy Java system property initialization (#128)
- initialize VM; call System.initPhase2() and System.initPhase3() (#127)
- add jdk.internal.misc.Unsafe put<primitive> methods (#126)
- add jdk.internal.misc.Unsafe.copyMemory0(Ljava/lang/Object;JLjava/lang/Object;JJ)V (#125)
- add Class.componentType for array classes (#124)
- correct implementation of jdk.internalmisc.Unsafe for int and long (#123)
- add jdk.internal.misc.CDS.getCDSConfigStatus()I (#122)
- add java.lang.Class.forName0(Ljava/lang/String;ZLjava/lang/ClassLoader;Ljava/lang/Class;)Ljava/lang/Class; and java.security.AccessController.getStackAccessControlContext()Ljava/security/AccessControlContext; (#121)
- remove unnecessary thread creation for new objects (#119)
π¦ Build system
- update dist to 0.25.1 (#131)
π οΈ Other improvements
v0.11.0
π₯ Breaking changes
- refactor VM.load_class() -> Thread.class() and VM.new_object() -> VM.object() (#116)
- implement TryInto for Value, Reference and Object (#105)
β¨ Enhancements
- add string support to RustValue (#115)
- add VM.new_object() (#114)
- update class loader to support primitive classes (#109)
- add JavaObject trait (#106)
- implement TryInto for Value, Reference and Object (#105)
π Bug fixes
- add Class.getDeclaringClass0()java/lang/Class, Class.getSigners()Ljava/lang/Object;, Class.isHidden()Z, Class.setSigners(Ljava/lang/Object;)V (#113)
- add Class.getClassAccessFlagsRaw0()I, Class.getClassFileVersion0()I and Class.getPermittedSubclasses0()[Ljava/lang/Class; (#112)
- add Class.isInterface()Z (#111)
- update Unsafe.compareAndSetReference() to support Objects (#110)
- implement jdk.internal.misc.VM.initializeFromArchive(Ljava/lang/Class;)V, jdk.internal.misc.Unsafe.addressSize0()I, jdk.internal.misc.Unsafe.isBigEndian0()Z, jdk.internal.misc.Unsafe.unalignedAccess0()Z (#104)
- correct is_assignable_from, checkcast and instanceof array handling (#103)
- add awt native initIDs() methods (#101)
π οΈ Other improvements
v0.10.1
β¨ Enhancements
- add environment variable support (#98)
π Bug fixes
- pass command line arguments as a string array to main methods (#97)
- correct invokedynamic instruction debug logging (#96)
- create array class for anewarray instruction (#95)
- correct invokedynamic bytecode serialization (#93)
π οΈ Other improvements
v0.10.0
π₯ Breaking changes
- implement java.home system property (#80)
β¨ Enhancements
- implement multianewarray instruction (#89)
- implement system properties (#82)
- implement athrow instruction (#78)
π Bug fixes
- correct bug setting StackTraceElement.declaringClass (#90)
- update cli to print stack trace when a throwable is returned from the vm (#88)
- implement java.io.WinNTFileSystem.initIDs() (#87)
- implement sun.nio.fs.UnixNativeDispatcher (#86)
- implement java.io.UnixFileSystem.getBooleanAttributes0() (#85)
- correct handling of finally blocks (#84)
- implement jdk.internal.loader.NativeLibraries.findBuiltinLib() (#83)
- implement java.home system property (#80)
- correct invoke instruction error messages (#77)
- correct exception table handler_pc offsets to/from instructions/bytes (#75)
- remove unnecessary clone of method code (#71)
π¦ Build system
π οΈ Other improvements
v0.9.0
π₯ Breaking changes
β¨ Enhancements
- add stack size to frame debug logging (#65)
- enable wasm32 builds (#61)
- update vm to be async (#56)
- implement Reflection.getCallerClass() (#55)
- implement native method CDS.getRandomSeedForDumping()J (#48)
- add support for invoking interface method ref (#47)
π Bug fixes
- stub implementation of java.lang.ref.Reflection.refersTo0() (#69)
- correct invokeinterface instruction class resolution (#67)
- increase windows stack size to 8MB (#66)
- implement Class.getSuperclass() and Class.isAssignableFrom() (#64)
- correct invokespecial instructions to only use methods from the class hierarchy (#63)
- implement java.lang.Throwable.fillInStackTrace() (#62)
- implement java.lang.System.mapLibraryName() (#60)
- implement java.lang.System.identityHashCode() (#59)
- implement java.io.UnixFileSystem.initIDs() (#58)
- implement Class.is_array (#57)
- corrected bug where lushr instruction was using incorrect mask (#50)
- correct class interface loading and association (#49)
π οΈ Other improvements
v0.8.1
v0.8.0
π₯ Breaking changes
- initial vm (#43)
- removed cycle between ClassLoader and Class (#34)
- improve class loader interface (#33)
β¨ Enhancements
- initial vm (#43)
- update lookupswitch instruction to use an IndexMap (#35)
- improve class loader interface (#33)
- add reserved impdep1 and impdep2 instructions (#32)
π Bug fixes
- removed cycle between ClassLoader and Class (#34)
v0.7.0
π₯ Breaking changes
- correct definition of goto_w and jsr_w definitions (#31)
- optimize jar class loader by deferring class file loading (#28)
β¨ Enhancements
- add jar manifest (#30)
π Bug fixes
- correct definition of goto_w and jsr_w definitions (#31)
π¦ Build system
- enable dashmap inline feature (#29)
π οΈ Other improvements
v0.6.0
v0.5.0
π₯ Breaking changes
- remove ClassFile.source_file() (#16)