RFR: 8302495: update for deprecated sprintf for java.desktop

Phil Race prr at openjdk.org
Thu Feb 16 21:51:22 UTC 2023


On Tue, 14 Feb 2023 20:41:39 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

> Hi,
> 
> May I have this update reviewed?
> 
> The sprintf is deprecated in Xcode 14 because of security concerns. The issue was addressed in [JDK-8296812](https://bugs.openjdk.org/browse/JDK-8296812) for building failure, and [JDK-8299378](https://bugs.openjdk.org/browse/JDK-8299378)/[JDK-8299635](https://bugs.openjdk.org/browse/JDK-8299635)/[JDK-8301132](https://bugs.openjdk.org/browse/JDK-8301132) for testing issues . This is a break-down update for sprintf uses in java.desktop components.
> 
> Thanks,
> Xuelei

This is a fairly extensive set of changes so I'll contact you off-line to make sure you have done adequate testing.

Also the changes in freetype must be reverted. This is a 3rd party library.

-------------

PR: https://git.openjdk.org/jdk/pull/12565



More information about the client-libs-dev mailing list