Skip to content

Clarify supported Java versions #4

Open

Description

@jreznot

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 ?

Activity

  1. gkdn commented on Nov 14, 2018

    @gkdn
    Member

    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.

  2. jDramaix commented on Nov 14, 2018

    @jDramaix
    Member

    Let's update the README with that information

  3. unnati914 commented on Aug 24, 2021

    @unnati914

    I can work on this

  4. ice1000 commented on Sep 19, 2022

    @ice1000

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

  5. gkdn commented on Sep 19, 2022

    @gkdn
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions