This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git
The following commit(s) were added to refs/heads/master by this push:
new 23c91415 Update test comment
23c91415 is described below
commit 23c91415c643a1d44b7381b2e29ddda171735234
Author: aherbert <[email protected]>
AuthorDate: Tue Aug 22 10:57:44 2023 +0100
Update test comment
---
src/test/java/org/apache/commons/text/TextStringBuilderTest.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/test/java/org/apache/commons/text/TextStringBuilderTest.java
b/src/test/java/org/apache/commons/text/TextStringBuilderTest.java
index 38ad2720..feedc849 100644
--- a/src/test/java/org/apache/commons/text/TextStringBuilderTest.java
+++ b/src/test/java/org/apache/commons/text/TextStringBuilderTest.java
@@ -904,9 +904,8 @@ public class TextStringBuilderTest {
// ~4GiB char[] new buffer during reallocation
// Attempts to guess the amount of free memory available using
- // java.lang.Runtime and skipping the test often did not work.
- // The JVM can allocating large arrays using far more memory than
- // the raw byte size.
+ // the java.lang.Runtime/java.lang.management objects to
+ // skip the test often did not work.
// So here we just run the test and return a skip result if the
// OutOfMemoryError occurs too early.