From f64ed2015f6105a048a974c95ef5288ea0afdebe Mon Sep 17 00:00:00 2001 From: aston Date: Thu, 1 Feb 2024 10:54:01 +0200 Subject: [PATCH] v0.17.2 Bugfixes: * Search methods in all the interfaces in hierarchy * Support x64 addresses for async calls * Correect handling parametarized types and wildcard types --- README.md | 2 +- java/pom.xml | 2 +- rust/README.md | 2 +- rust/build.rs | 2 +- ... => j4rs-0.17.2-jar-with-dependencies.jar} | Bin 2288811 -> 2288781 bytes 5 files changed, 4 insertions(+), 4 deletions(-) rename rust/jassets/{j4rs-0.17.2-SNAPSHOT-jar-with-dependencies.jar => j4rs-0.17.2-jar-with-dependencies.jar} (99%) diff --git a/README.md b/README.md index 0a08a97..553ee22 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # j4rs [![crates.io](https://img.shields.io/crates/v/j4rs.svg)](https://crates.io/crates/j4rs) -[![Maven Central](https://img.shields.io/badge/Maven%20Central-0.17.1-blue.svg)](https://central.sonatype.com/artifact/io.github.astonbitecode/j4rs/) +[![Maven Central](https://img.shields.io/badge/Maven%20Central-0.17.2-blue.svg)](https://central.sonatype.com/artifact/io.github.astonbitecode/j4rs/) ![Build](https://github.com/astonbitecode/j4rs/actions/workflows/ci-workflow.yml/badge.svg) j4rs stands for __'Java for Rust'__ and allows effortless calls to Java code from Rust and vice-versa. diff --git a/java/pom.xml b/java/pom.xml index f57510b..e0eb506 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -3,7 +3,7 @@ 4.0.0 io.github.astonbitecode j4rs - 0.17.2-SNAPSHOT + 0.17.2 j4rs Java for Rust https://github.com/astonbitecode/j4rs diff --git a/rust/README.md b/rust/README.md index a6dc74a..6ddb58c 100644 --- a/rust/README.md +++ b/rust/README.md @@ -1,7 +1,7 @@ # j4rs [![crates.io](https://img.shields.io/crates/v/j4rs.svg)](https://crates.io/crates/j4rs) -[![Maven Central](https://img.shields.io/badge/Maven%20Central-0.17.1-blue.svg)](https://central.sonatype.com/artifact/io.github.astonbitecode/j4rs/) +[![Maven Central](https://img.shields.io/badge/Maven%20Central-0.17.2-blue.svg)](https://central.sonatype.com/artifact/io.github.astonbitecode/j4rs/) ![Build](https://github.com/astonbitecode/j4rs/actions/workflows/ci-workflow.yml/badge.svg) j4rs stands for __'Java for Rust'__ and allows effortless calls to Java code from Rust and vice-versa. diff --git a/rust/build.rs b/rust/build.rs index 1454aa9..15c06fb 100644 --- a/rust/build.rs +++ b/rust/build.rs @@ -27,7 +27,7 @@ use java_locator; use sha2::{Digest, Sha256}; // This is the version of the jar that should be used -const VERSION: &'static str = "0.17.2-SNAPSHOT"; +const VERSION: &'static str = "0.17.2"; fn main() -> Result<(), J4rsBuildError> { let out_dir = env::var("OUT_DIR")?; diff --git a/rust/jassets/j4rs-0.17.2-SNAPSHOT-jar-with-dependencies.jar b/rust/jassets/j4rs-0.17.2-jar-with-dependencies.jar similarity index 99% rename from rust/jassets/j4rs-0.17.2-SNAPSHOT-jar-with-dependencies.jar rename to rust/jassets/j4rs-0.17.2-jar-with-dependencies.jar index 558f9fe3876c2913eb7897aabecb46ff0468555e..4c0abd773edbf94caa264784214eefc7fc6da26e 100644 GIT binary patch delta 4214 zcmZu!2UJtZ8cqnE4ZTUry;r435mrEuq7*@q-m7#J^r>_yZV*{mX@V#hk+L9CL@?Kc$&QEszr}tO+#hg!h9nT~rA@Gl1}B?H1t%23-*=5ST8ayEQ7Ip861b)+QFf zP%02pLLWOpJpa)LVg>@3j5F>(KJr;lg=Nq< zE|@P%TAUMv%ZuxQ@wm7)!3~oy5jSLv7pBFNrp56XSTGPUuwr1tz>a|f11AP94BQxa zF#Ljnh=CUa9|nF50vH4_2w@P$Ac8>@gBS*e{x%E}7$h-BVUWfk(>N_oxS224c_0ZU<0eAG>>zhm2$E*nctoHD z0fD1ivrJ7tK@tovX$CMxI z44Jl39mtA>7wg&iJ34xgPQc+(Inl*72yVolE*DThPZ&a@K)}ifvSTjc<`Kw?71%hf zAuHwrUF{%EX2~okh@TC3OWmPM?0{+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