jtreg throws StackOverflowError when writing xml report

Jonathan Gibbons Jonathan.Gibbons at Sun.COM
Thu Feb 12 11:36:11 PST 2009


Thanks for the update; I was expecting something around 
java.lang.Character myself,
but definitely that sort of problem. Do you want to file a bug against 
the XML encoder?

-- Jon

Omair Majid wrote:
> Hi Jon,
>
> 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.
>
> Cheers,
> Omair




More information about the jtreg-use mailing list