You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
spring-boot/spring-boot-tools
Stephane Nicoll 927c2cacfa Rework type generation algorithm
The initial solution to gh-11512 was still using a plain `toString` that
could potentially break with a JDK upgrade. Turns out that JDK9 actually
uses the same type for AnnotatedType and ClassType so the trick of using
a visitor doesn't work anymore.

Retrospectively, it is quite easy to generate the full type once we have
the DeclaredType as we already have some logic to get the qualified,
that is raw, type and we have access to the type parameters.

This commit still uses a `toString` to generate the representation of
the type parameters but this looks much safer than trying to redo what
such a simple `toString` should do. Also, the additional metadata that
we could get on an ExecutableElement does not apply to them.

Closes gh-11512
7 years ago
..
spring-boot-antlib Next Development Version 7 years ago
spring-boot-autoconfigure-processor Polish 7 years ago
spring-boot-configuration-metadata Next Development Version 7 years ago
spring-boot-configuration-processor Rework type generation algorithm 7 years ago
spring-boot-gradle-plugin Next Development Version 7 years ago
spring-boot-loader Fix Windows build 7 years ago
spring-boot-loader-tools Restore static final formatting 7 years ago
spring-boot-maven-plugin Restore static final formatting 7 years ago
spring-boot-test-support Update Apache Maven Central repository url 7 years ago
pom.xml Next Development Version 7 years ago