As Spring Framework 6 uses JDK17 for its baseline, we can make use of 'toString(Charset)' which was introduced in JDK 10.
Comment From: pivotal-cla
@SungMinHong Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-cla
@SungMinHong Thank you for signing the Contributor License Agreement!
Comment From: jhoeller
Thanks for the pull request and for raising the topic so timely! I'll follow it up with a related commit of my own (#27664).