Author adamburke
Recipients adamburke
Date 2019-08-30.02:07:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The regrtest for Jython 2.7.2a+ will show the following failures under OpenJDK 1.7.0_75-b13 on Windows.

Tests are test_bytes test_codecencodings_tw test_lib2to3 test_shadowstr_jy test_str test_string test_sys test_unicode test_userstring

Shows as an OutOfMemoryError:

ERROR: test_replace_overflow (test.test_userstring.MutableStringTest)
Traceback (most recent call last):
  File "C:\Users\Adam\jython\jython4\dist\Lib\test\", line 893, in test_replace_overflow
    self.checkraises(OverflowError, A2_16, "replace", "", A2_16)
  File "C:\Users\Adam\jython\jython4\dist\Lib\test\", line 35, in checkraises
  File "C:\Users\Adam\jython\jython4\dist\Lib\unittest\", line 476, in assertRaises
    callableObj(*args, **kwargs)
  File "C:\Users\Adam\jython\jython4\dist\Lib\", line 108, in replace
    return self.__class__(, new, maxsplit))
OutOfMemoryError: java.lang.OutOfMemoryError: Java heap space

Found during this work which also shows passing on Oracle 1.7.0_80-b15 and other versions.

Given the current out of life state of Java 7, we may not necessarily choose to fix this, but I thought it worth documenting here regardless.
Date User Action Args
2019-08-30 02:07:28adamburkesetrecipients: + adamburke
2019-08-30 02:07:28adamburkesetmessageid: <>
2019-08-30 02:07:28adamburkelinkissue2798 messages
2019-08-30 02:07:28adamburkecreate