You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
smallrye/jandex#114 results in double and long values from annotations being read incorrectly. This fix has been merged but isn't in a release yet.
As far as I can see, this only affects Schema.multipleOf and SchemaProperty.multipleOf which have type double.
This was raised by one of our users as OpenLiberty/open-liberty#17972 who reported that using 0.1, 0.2, 0.0001, or 1.1 resulted in a NumberFormatException since the number was read from the annotation as NaN which then could not be converted to a BigDecimal.
Can we consume the next version of jandex to get this fix when it's available please?
Specifying multipleOf=0.1 doesn't seem that unusual. I could contribute that as a test if it would be helpful.
The text was updated successfully, but these errors were encountered:
smallrye/jandex#114 results in
double
andlong
values from annotations being read incorrectly. This fix has been merged but isn't in a release yet.As far as I can see, this only affects
Schema.multipleOf
andSchemaProperty.multipleOf
which have typedouble
.This was raised by one of our users as OpenLiberty/open-liberty#17972 who reported that using
0.1
,0.2
,0.0001
, or1.1
resulted in aNumberFormatException
since the number was read from the annotation asNaN
which then could not be converted to aBigDecimal
.Can we consume the next version of jandex to get this fix when it's available please?
Specifying
multipleOf=0.1
doesn't seem that unusual. I could contribute that as a test if it would be helpful.The text was updated successfully, but these errors were encountered: