-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scala Compilation Issue #1572
Comments
Could this be an IDE thing? which IDE are you using and can you refresh the dependencies and try reloading the project? |
This is happening when running |
Hi @parkerirving45, I will be working on this. Could you confirm if you are still facing an issue? If yes, could you also provide the code snippets which are being problematic? |
The code snippet above is still relevant we were able to get around this by downgrading our sdk version |
Hi @parkerirving45! If you're currently using Scala 2.12 and encountering compatibility issues with Java compilation, upgrading to Scala 2.13 is advisable. Scala 2.13 offers improved support for newer Java versions, including Java 11, enhancing interoperability and performance. You can refer this doc here for more information: https://docs.scala-lang.org/overviews/jdk-compatibility/overview.html#jdk-11-compatibility-notes |
Describe the bug?
On any version greater than 13.0.2 I get this compilation issue
I am on scala version 2.12 and using Java 11.0.18. In the docs it mentions you need to use Java 11+ which I am using. The compilation issue goes away if I remove any calls to
UserStatus
orgetStatus
when on version 19.0.2. It also goes away when I run version 13.0.2.What is expected to happen?
Should compile successfully
What is the actual behavior?
Compilation fails with error above
Reproduction Steps?
Run a scala sbt project on scala 2.12 and java version 11 and then try and access
User.getStatus
Additional Information?
No response
Java Version
11.0.18
SDK Version
19.0.2
OS version
No response
The text was updated successfully, but these errors were encountered: