Skip to content

Conversation

nafg
Copy link
Contributor

@nafg nafg commented Jul 9, 2025

Currently versioned exclusion files don't work correctly for version strings like those from sbt-dynver, because it looks at all the digits after the last period. However the digits of a version string like 3.6.1+42-c80fbe6a+20250708-2356-SNAPSHOT create a number far greater than Short.MaxValue. It's even larger than Int.MaxValue. So the easiest fix seems to be to just go with Long.MaxValue.

Currently this doesn't work correctly for version strings like from sbt-dynver, because it looks at all the digits after the last period. However the digits of a version string like `3.6.1+42-c80fbe6a+20250708-2356-SNAPSHOT` create a number far greater than `Short.MaxValue`. It's even larger than `Int.MaxValue.` So the easiest fix seems to be to just go with `Long.MaxValue`.
@nafg
Copy link
Contributor Author

nafg commented Jul 9, 2025

Meanwhile worked around it by replacing the .x wildcard with .99999 in slick/slick#3178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant