How to pass javatest.maxOutputSize to make test?

Jaikiran Pai jaikiran.pai at oracle.com
Fri Oct 3 06:10:11 UTC 2025


On 03/10/25 11:25 am, Alan Bateman wrote:
>
>
> On 02/10/2025 18:09, Pavel Rappo wrote:
>> Hello,
>>
>> ...
>> If a test fails, sometimes I get this output:
>>
>>      ...
>>      Output overflow:
>>      JT Harness has limited the test output to the text
>>      at the beginning and the end, so that you can see how the
>>      test began, and how it completed.
>>
>>      If you need to see more of the output from the test,
>>      set the system property javatest.maxOutputSize to a higher
>>      value. The current value is 100000
>>      ...
>>
> At some point I think we need to think again about having 
> maxOutputSize set to a very large value in the TEST.ROOT for least the 
> test/jdk test. 

This has happened several times and it is frustrating when it happens 
for intermittently failing tests because we lose crucial details of the 
failure. I have now filed https://bugs.openjdk.org/browse/JDK-8369087 to 
increase this value in the JDK repo, after running some experiments.

-Jaikiran

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20251003/78bd2d65/attachment.htm>


More information about the build-dev mailing list