On Tue, 31 Aug 2021 07:37:21 GMT, Andrey Turbanov <github.com+741251+turban...@openjdk.org> wrote:
> parseInt/parseLong/parseShort/parseByte/parseFloat should be preferred, as > they return primitives. While valueOf returns boxed object. This pull request has now been integrated. Changeset: 708407ed Author: Andrey Turbanov <turban...@gmail.com> Committer: Alexey Ivanov <aiva...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/708407eddc9d52c01de02e3986c05e1c6225fa85 Stats: 18 lines in 7 files changed: 0 ins; 1 del; 17 mod 8273168: Remove superfluous use of boxing in java.desktop Reviewed-by: aivanov ------------- PR: https://git.openjdk.java.net/jdk/pull/5313