spring-boot/spring-boot-project
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
..
spring-boot Add explicit dependency on inject-api 2022-02-24 15:12:09 +01:00
spring-boot-actuator
spring-boot-actuator-autoconfigure Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00
spring-boot-autoconfigure Use an ephemeral port to avoid potential port clash 2022-02-28 10:54:31 +00:00
spring-boot-cli
spring-boot-dependencies Upgrade to Spring Batch 4.3.5 2022-02-23 16:58:39 +01:00
spring-boot-devtools
spring-boot-docs Add links to Spring Boot for Apache Geode and its documentation 2022-03-01 12:13:58 +00:00
spring-boot-parent
spring-boot-properties-migrator
spring-boot-starters
spring-boot-test Allow beans with circular dependencies to be spied 2022-02-19 11:35:58 +00:00
spring-boot-test-autoconfigure
spring-boot-tools Improve parsing of numeric default values 2022-03-01 17:38:19 +00:00