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 Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00
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 Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00
spring-boot-dependencies Upgrade to Spring Batch 4.3.5 2022-02-23 16:58:39 +01:00
spring-boot-devtools Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00
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 Upgrade to Testcontainers 1.16.2 2022-01-12 13:52:43 -08:00
spring-boot-properties-migrator
spring-boot-starters Update URL for GraphQL Spring Boot starter 2021-11-16 08:33:56 +01:00
spring-boot-test Allow beans with circular dependencies to be spied 2022-02-19 11:35:58 +00:00
spring-boot-test-autoconfigure Polish "Enforce use of BDDMockito" 2022-02-01 10:03:18 +01:00
spring-boot-tools Improve parsing of numeric default values 2022-03-01 17:38:19 +00:00