diff --git a/gradle.properties b/gradle.properties index 041f178..3aa55fa 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,7 +16,7 @@ org.gradle.caching=true group=io.ballerina version=1.3.1-SNAPSHOT -ballerinaLangVersion=2201.10.0-20241007-143200-6b69ca80 +ballerinaLangVersion=2201.10.0-20241011-161100-51978649 githubSpotbugsVersion=6.0.18 githubJohnrengelmanShadowVersion=8.1.1 underCouchDownloadVersion=5.4.0 diff --git a/testobserve/native/src/main/java/org/ballerina/testobserve/NativeUtils.java b/testobserve/native/src/main/java/org/ballerina/testobserve/NativeUtils.java index 66b4f4a..ce140b0 100644 --- a/testobserve/native/src/main/java/org/ballerina/testobserve/NativeUtils.java +++ b/testobserve/native/src/main/java/org/ballerina/testobserve/NativeUtils.java @@ -37,6 +37,7 @@ public static void sleep(Environment env, long delayMillis) { env.yieldAndRun(() -> { try { Thread.sleep(delayMillis); + return null; } catch (InterruptedException e) { throw ErrorCreator.createError(StringUtils.fromString("error occurred during sleep"), e); }