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

Clarify supported Java versions #4

Open
jreznot opened this issue Nov 14, 2018 · 5 comments
Open

Clarify supported Java versions #4

jreznot opened this issue Nov 14, 2018 · 5 comments

Comments

@jreznot
Copy link

jreznot commented Nov 14, 2018

Hi,

Thank you for this project!

For now, I cannot find the information on supported Java versions: 8 / 11 ? It is still source to source transpiler ? Do you expect any delays with support of the upcoming Java versions ?

@gkdn
Copy link
Member

gkdn commented Nov 14, 2018

It is stil a source to source transpiler and you can actually see the unoptimized output samples in in the transpiler's '''readable''' directory:
https://github.com/google/j2cl/tree/master/transpiler/javatests/com/google/j2cl/transpiler/readable

We tested up to Java 10 but Java 11 doesn't bring much new language features so it should be straight forward.

In general, since J2CL doesn't depend on internals of Java compiler, it is usually matter of upgrading our dependencies and testing unless there is completely new language construct like Java 8 lambdas. For Java 9, Java 10 it took couple of hours which should be true for Java 11 as well.

@jDramaix
Copy link
Member

Let's update the README with that information

@unnati914
Copy link

I can work on this

@ice1000
Copy link

ice1000 commented Sep 19, 2022

Does it support Java 18-19 features? Like records and pattern deconstruction

@gkdn
Copy link
Member

gkdn commented Sep 19, 2022

We don't support Java 18+ features yet.

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

No branches or pull requests

5 participants