-
Notifications
You must be signed in to change notification settings - Fork 968
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Longs parsed as int when compared #604
Comments
Okay. Any ETA? |
michalmela
added a commit
to michalmela/config
that referenced
this issue
Jan 4, 2019
Previously such config keys would still be parsed with `Integer#parseInt` for the sake of sorting, resulting in a `NumberFormatException`. Now the keys consisting of digits only are parsed to a `BigInteger` and compared as such. This addresses the following issues: lightbend#604 lightbend#541
michalmela
added a commit
to michalmela/config
that referenced
this issue
Jan 8, 2019
Previously such config keys would still be parsed with `Integer#parseInt` for the sake of sorting, resulting in a `NumberFormatException`. Now the keys consisting of digits only are parsed to a `BigInteger` and compared as such. This addresses the following issues: lightbend#604 lightbend#541
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Detailed ticket here: SpongePowered/Configurate#127
Long numbers are parsed as integers when being compared, and throw a NumberFormatException.
The text was updated successfully, but these errors were encountered: