From e371d79f2c3f0797d2bc8ffa8296e12b30ef2896 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jun 2026 09:46:09 +0000 Subject: [PATCH 1/2] chore(deps): bump error-prone.version from 2.49.0 to 2.50.0 Bumps `error-prone.version` from 2.49.0 to 2.50.0. Updates `com.google.errorprone:error_prone_annotations` from 2.49.0 to 2.50.0 - [Release notes](https://github.com/google/error-prone/releases) - [Commits](https://github.com/google/error-prone/compare/v2.49.0...v2.50.0) Updates `com.google.errorprone:error_prone_core` from 2.49.0 to 2.50.0 - [Release notes](https://github.com/google/error-prone/releases) - [Commits](https://github.com/google/error-prone/compare/v2.49.0...v2.50.0) --- updated-dependencies: - dependency-name: com.google.errorprone:error_prone_annotations dependency-version: 2.50.0 dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: com.google.errorprone:error_prone_core dependency-version: 2.50.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0f1a79dd..d99da6b5 100644 --- a/pom.xml +++ b/pom.xml @@ -69,7 +69,7 @@ 3.5.0 13.6.0 - 2.49.0 + 2.50.0 1.7.3 3.2.0 3.6.0 From 7cce9b3cc92de402dabb2a736412455cfc7997f3 Mon Sep 17 00:00:00 2001 From: andreatp Date: Mon, 15 Jun 2026 11:09:36 +0100 Subject: [PATCH 2/2] Fix error-prone 2.50.0 warnings - Validator: disambiguate List.remove() with /* index */ comment - MemCopyWorkaround: make fields private to avoid exposing private types --- .../src/main/java/run/endive/runtime/MemCopyWorkaround.java | 4 ++-- wasm/src/main/java/run/endive/wasm/Validator.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/src/main/java/run/endive/runtime/MemCopyWorkaround.java b/runtime/src/main/java/run/endive/runtime/MemCopyWorkaround.java index 4b1a08c3..6f1edd4e 100644 --- a/runtime/src/main/java/run/endive/runtime/MemCopyWorkaround.java +++ b/runtime/src/main/java/run/endive/runtime/MemCopyWorkaround.java @@ -68,8 +68,8 @@ public static boolean shouldUseMemWorkaround(String version) { } } - static MemoryCopyFunc memoryCopyFunc; - static I32GEUFunc i32geuFunc; + private static MemoryCopyFunc memoryCopyFunc; + private static I32GEUFunc i32geuFunc; public static void memoryCopy(int destination, int offset, int size, Memory memory) { memoryCopyFunc.apply(destination, offset, size, memory); diff --git a/wasm/src/main/java/run/endive/wasm/Validator.java b/wasm/src/main/java/run/endive/wasm/Validator.java index 8b9bed02..2eb35de8 100644 --- a/wasm/src/main/java/run/endive/wasm/Validator.java +++ b/wasm/src/main/java/run/endive/wasm/Validator.java @@ -254,7 +254,7 @@ private void setLocal(int idx) { private void resetLocals(int height) { while (initStack.size() > height) { - localsInitialized.set(initStack.remove(initStack.size() - 1), false); + localsInitialized.set(initStack.remove(/* index */ initStack.size() - 1), false); } }