Bug #106981 Contribution: [PATCH] Remove superfluous use of boxing

Submitted: 11 Apr 2022 14:17 Modified: 20 Dec 2022 20:38
Reporter: OCA Admin (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:Connector / J Severity:S3 (Non-critical)
Version:8.0 OS:Any
Assigned to: CPU Architecture:Any
Tags: Contribution

[11 Apr 2022 14:17] OCA Admin
Description:
This bug tracks a contribution by Andrey Turbanov (Github user: turbanoff) as described in http://github.com/mysql/mysql-connector-j/pull/77

How to repeat:
See description

Suggested fix:
See contribution code attached
[11 Apr 2022 14:17] OCA Admin
Contribution submitted via Github - [PATCH] Remove superfluous use of boxing 
(*) Contribution by Andrey Turbanov (Github turbanoff, mysql-connector-j/pull/77#issuecomment-1094850810): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.

Contribution: git_patch_905694879.txt (text/plain), 6.53 KiB.

[11 Apr 2022 15:59] MySQL Verification Team
Hello Andrey Turbanov,

Thank you for the report and contribution.

regards,
Umesh
[20 Dec 2022 20:38] Daniel So
Posted by developer:
 
Added the following entry to the C/J 8.0.32 changelog: 

"Calls of the valueOf() method of the native types' wrapper classes have been replaced by the corresponding parse[Type]() methods in order to avoid unnecessary boxing. Thanks to Andrey Turbanov for contributing to the patch."

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.