Skip to content

Version.getCurrent() not consistent with the new version scheme  #6383

@zakkak

Description

@zakkak

Describe the issue
#6302 introduced a new version scheme for GraalVM and changed the output of native-image --version

An issue with this change is that Version.getCurrent(), which AFAIK is public API still returns 23.0.1 instead of 17.0.7+4.1. So tools and frameworks are expected to be able to understand both and somehow map one to the other, since pre-build they might rely on the output of native-image --version but at build-time they might use Version.getCurrent().

cc @jerboaa @fniephaus

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions