I committed this regression test, even though it takes about 1 min to
run on my machine.

If it causes any problems, or if you have a better idea for testing this
case, please say.

Regards,
Tim

On 15/Jun/2010 12:05, telli...@apache.org wrote:
> Author: tellison
> Date: Tue Jun 15 11:05:28 2010
> New Revision: 954817
> 
> URL: http://svn.apache.org/viewvc?rev=954817&view=rev
> Log:
> Apply patch for HARMONY-6470 ([classlib][luni] Scanner will exhaust all heap 
> memory when parse a large file)
> 
> Includes a (relatively) long running test case.
> 
> Added:
>     
> harmony/enhanced/java/trunk/classlib/modules/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ScannerParseLargeFileBenchmarkTest.java
>    (with props)
> Modified:
>     
> harmony/enhanced/java/trunk/classlib/modules/luni/src/main/java/java/util/Scanner.java
> 

Reply via email to