darkmoon_uk
06/26/2025, 1:39 AMdarkmoon_uk
06/26/2025, 1:49 AMAnna Kozlova
06/26/2025, 6:17 AMrequestDTO.getDescription()
? Also please specify how many JDKs do you have and iff they are different on the call site and where the methods are declared. Thanks!Sargun Vohra
06/27/2025, 10:34 AM@Test
public void resource() throws ExecutionException, InterruptedException {
var expected = "sitrus";
String actual = PokeApi.getDefault().getBerryAsync(10).get().getName();
assertEquals(expected, actual);
}
what are the signatures
getName()
here is from a val name: String
on a Kotlin data class
Also please specify how many JDKs do you haveJDK is set to 21 via toolchain in Gradle.
and if they are different on the call site and where the methods are declaredThe call site and the declaration are in the same module. Itās a Kotlin Multiplatform module. The declaration is in
commonMain/kotlin
, while the call site is in jvmTest/java
.Sargun Vohra
06/27/2025, 10:35 AMSargun Vohra
06/27/2025, 10:35 AMSargun Vohra
06/27/2025, 10:36 AMSargun Vohra
06/27/2025, 10:37 AMAnna Kozlova
06/27/2025, 10:37 AMSargun Vohra
06/27/2025, 10:37 AMSargun Vohra
06/27/2025, 10:37 AMAnna Kozlova
06/27/2025, 10:38 AMSargun Vohra
06/27/2025, 10:40 AMSargun Vohra
06/27/2025, 10:40 AMSargun Vohra
06/27/2025, 10:42 AMAnna Kozlova
06/27/2025, 12:32 PMAnna Kozlova
06/27/2025, 1:54 PM