GitHub user kinow opened a pull request:
https://github.com/apache/commons-lang/pull/269
LANG-1337: Fix test failures in IBM JDK 8 for ToStringBuilderTest by
specifying the ArrayList initial capacity.
See https://issues.apache.org/jira/browse/LANG-1337 for issue description
and explanation of the changes here.
In summary, we specify the ArrayList's initial capacity, this way the
String built through reflection has the expected value. Tested with Oracle JDK
7 and 8, and IBM JDK 8.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kinow/commons-lang LANG-1337
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-lang/pull/269.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #269
----
commit 65b08c4f91a4e5d78eb645b46d06d7a46f8c62dd
Author: Bruno P. Kinoshita <[email protected]>
Date: 2017-06-06T11:41:31Z
LANG-1337: Fix test failures in IBM JDK 8 for ToStringBuilderTest by
specifying the ArrayList initial capacity.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---