Skip to content

Release 3.16.3 included a unsupported Java version #29

@vbrandl

Description

@vbrandl

The 3.16.3 release included a version of OpenJDK, that is not supported by gradle and caused APK builds to fail.

Expected behaviour

Each release should use a version of Java that is supported by gradle (maybe always the latest LTS release)

Actual behaviour

The 3.16.3 build included an early access version of OpenJDK 22

Steps to reproduce the behaviour

$ docker run --rm -it mobiledevops/flutter-sdk-image:3.16.3 java --version
openjdk 22-ea 2024-03-19
OpenJDK Runtime Environment (build 22-ea+16-Ubuntu-1)
OpenJDK 64-Bit Server VM (build 22-ea+16-Ubuntu-1, mixed mode, sharing)
$ docker run --rm -it mobiledevops/flutter-sdk-image:3.16.4 java --version
openjdk 17.0.9 2023-10-17
OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-123.10)
OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-123.10, mixed mode, sharing)

Which Docker version is used?

podman version 4.8.1 (but this is not a docker issue)

Which host operation system is used?

  • Linux
  • Windows
  • macOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions