jtreg throws StackOverflowError when writing xml report

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Thu Feb 12 07:54:07 PST 2009


I suspect there is some specific test or tests in the test suite  
causing output that it provoking this error  in the xml encoder.
I doubt that it is the quantity of tests in the entire jdk suite that  
is causing the issue.

Would it be possible for you to try and narrow it down by running  
jtreg on (just) each of the top level subdirectories of test/
and then if one shows the fault, on the each of the subdirectories of  
that, and so on?

-- Jon

On Feb 12, 2009, at 7:33 AM, Omair Majid wrote:

> Hi Jon,
> Jonathan Gibbons wrote:
>> Since you're using IcedTea to run jtreg, I would suggest you  
>> investigate the
>> possibility that this is an IcedTea issue.
>> The bug would appear to be in
>> com.sun.org.apache.xml.internal.serializer.EncodingInfo 
>> $EncodingImpl.isInEncoding so it does not look like a jtreg or  
>> jtharness issue.
>> Can I suggest you try and use Sun's JDK to run jtreg, while still  
>> using the
>> JDK of your choice to execute the tests.
> I was wondering if you have run the entire jdk suite using jtreg  
> with the -Djavatest.report.kinds="xml text html" option. It is only  
> when using this option that the jtreg crashes.
> Thanks,
> Omair

More information about the jtreg-use mailing list