Closed Eiim closed 6 months ago
I had a similar report for that catch. Try using 1.4.0-SNAPSHOT
Read through some DM's about this same issue. Try adding kotlin.stdlib 1.9.23. https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-stdlib/1.9.23
If you use java modules, add requires kotlin.stdlib;
That works, thanks!
I did find the issue now, I'll try and remove the requirements for stdlib for 1.4.0
Describe the bug
I'm trying to implement logon following the template at SampleLogonAuthentication.java, which has this line:
https://github.com/Longi94/JavaSteam/blob/c388103874dd22bec2ea0933d0b41f435b7e3d29/javasteam-samples/src/main/java/in/dragonbra/javasteamsamples/_1logon/SampleLogonAuthentication.java#L115
Unfortunately, this doesn't work, because of the exceptions thrown by the method
pollingWaitForResultCompat()
:https://github.com/Longi94/JavaSteam/blob/c388103874dd22bec2ea0933d0b41f435b7e3d29/src/main/java/in/dragonbra/javasteam/steam/authentication/AuthSession.kt#L84-L94
In particular,
NotImplementedError
is from Kotlin, so Java builds can't access it. Since it can be thrown here, a Java class could need to handle it. See this Gradle build result:To Reproduce
Expected behavior
It should be able to compile.
JavaSteam Version
1.3.0
Platform Version
Windows
JVM Version
Adoptium 21.0.2
Additional Information
No response