Skip to content

0.4.0

Compare
Choose a tag to compare
@svc-autorelease svc-autorelease released this 08 Feb 20:41
· 263 commits to develop since this release
ceacebf
Type Description Link
Fix fix issue with getReplacement when version is empty string

It is possible that JakartaPackageAlignmentPlugin will call getReplacement with an empty string for the version. Previously, this code would erroneously return a replacement version because the comparator for ComparableVersion returns -1 when an empty string is compared with the maximum Jakarta version.

To address that, only look for a replacement when the version is non-null and non-empty.

Fixes #25
#26