Skip to content
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

Java 10+ language features #556

Open
CoderBaron opened this issue Jan 27, 2021 · 5 comments
Open

Java 10+ language features #556

CoderBaron opened this issue Jan 27, 2021 · 5 comments

Comments

@CoderBaron
Copy link
Contributor

I have a Java 10 project using the new language features like var and it compiles without issues for Android (most likely through d8).
This doesn't work yet with the RoboVM compiler and I'm wondering if there is any work undergoing for supporting newest Java language features?

@dkimitsa
Copy link
Contributor

To support java9+ we need to proper support of Dynamic Invoke implementation.
Currently its implemented as RetroLambda.
Java9 compiler is widely uses DI, for example for string concatenation.
Don't think its is in active development today.

@CoderBaron
Copy link
Contributor Author

Thanks for the info. I'll look into creating a PR for desugaring Java 9+ string concatenation (and anything else that's needed to make Java 9+ language features available for now).

@CoderBaron
Copy link
Contributor Author

Support added through PR #558.

@davidgiga1993
Copy link

Since the PR has been merged, what is still missing for this feature?

@davidgiga1993
Copy link

Any update? Just want to understand if it would be possible to use java 11 features with robovm at some point. This is getting more and more an issue for me since more and more libraries are moving to jdk11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants