Skip to content

JavaFX early access versions are considered stableย #721

@Vampire

Description

@Vampire

๐Ÿ› Describe the bug

JavaFX early access versions like 23-ea+3 are considered stable.

โš ๏ธ Current behavior

JavaFX early access versions are added as update comments

โœ… Expected behavior

JavaFX early access versions are not added as update comments

๐Ÿ’ฃ Steps to reproduce

  • depend on org.openjfx:javafx-base:13.0.1
  • do refreshVersions

Work-around

rejectVersionIf {
    fun Version.getAugmentedStabilityLevel() =
        // work-around for https://github.com/Splitties/refreshVersions/issues/721
        if ((moduleId.group == "org.openjfx") && (value.contains("ea"))) {
            StabilityLevel.EarlyAccessProgram
        } else {
            stabilityLevel
        }
    candidate.getAugmentedStabilityLevel().isLessStableThan(current.getAugmentedStabilityLevel())
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions