spring-boot/spring-boot-project/spring-boot-tools/spring-boot-configuration-processor
Andy Wilkinson a265f150ac Improve parsing of numeric default values
Previously, all integral numbers were parsed as integers. This
caused two problems:

1. Compilation would fail if the default value for a long wasn't a
   valid integer.
2. The default value for a byte or short could be out of range,
   resulting in the generation of invalid metadata and an error
   that could have been caught at compile time not being caught
   until runtime.

This commit updates the parsing of all numeric values to use the
parse method of the target primitive type. For example,
Short.parseShort(String) is now used to parse a short.

Fixes gh-30020
2022-03-01 17:38:19 +00:00
..
src Improve parsing of numeric default values 2022-03-01 17:38:19 +00:00
build.gradle Prohibit unwanted dependencies in all modules not just starters 2021-11-12 20:04:35 +00:00