Skip to content

Switch expressions not supported #175

Closed
@kbotond

Description

@kbotond

Hi,

I see the GWT dependency was upgraded to 2.12 in November 2024, but no new release has been published to Maven Central ever since.

We would like to use Java 17 language features like switch expressions and records in our GWT-based projects. I tried to manually override the GWT dependencies of gwt-maven-plugin, but still get the same errors:
[ERROR] Line 32: Arrow in case statement supported from Java 14 onwards only
[ERROR] Line 29: Switch Expressions are supported from Java 14 onwards only

Do we have to wait for a new release of the plugin, or is it possible to use the old version (1.1.0) to build for GWT 2.12 with additional configuration changes?

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions