jtreg throws StackOverflowError when writing xml report
omajid at redhat.com
Thu Feb 12 10:04:31 PST 2009
Jonathan Gibbons wrote:
> 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?
Thanks for that bit of advice. The problem seems to be in
test/java/beans/PropertyEditor/TestStringClassJava.java. Mark Wielaard
pointed out that the test generates a string with characters 0x1000 to
0x1 and prints it to stdout. It appears the xml parser trips over that.
Removing the output fixes the problem.
More information about the jtreg-use