Files
spring-boot-demo/boot42-upgrade/output/06-testresttemplate-compiler-warnings.txt
T
Claude 5f85ec8d53 Add boot42-upgrade module: Spring Boot 4.2.0 GA vs 4.1.3 upgrade checklist
Re-runs the RC1 checklist on GA and adds SSL-bundle options on the LDAP client,
the migrator fail switch, OpenTelemetry convention spellings, migrated
RestClient/RestTestClient, compiler removal warnings for RestTemplate,
TestRestTemplate and Pulsar, and jar/BOM probes. Transcripts in output/.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b5G8Z7wYEQnr5w4DfG
2026-11-20 19:27:32 +00:00

8 lines
426 B
Plaintext

# 06-testresttemplate-compiler-warnings (Spring Boot 4.2.0, JDK 25.0.5.1)
$ javac -Xlint:deprecation -cp <module classpath> -d target/broken src/broken/UsesTestRestTemplate.java
src/broken/UsesTestRestTemplate.java:6: warning: [removal] TestRestTemplate in org.springframework.boot.resttestclient has been deprecated and marked for removal
public String ping(TestRestTemplate rest) {
^
1 warning
exit: 0