flutter-sdk-image icon indicating copy to clipboard operation
flutter-sdk-image copied to clipboard

Release 3.16.3 included a unsupported Java version

Open vbrandl opened this issue 1 year ago • 0 comments

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?

  • [x] Linux
  • [ ] Windows
  • [ ] macOS

vbrandl avatar Dec 18 '23 08:12 vbrandl