[cp-patches] RFA: TextArea

Tania Bento tbento at redhat.com
Wed Jun 28 17:41:16 UTC 2006


Sorry, I forgot to mention that this patch also fixes some unexpected
exceptions (ie. the exceptions thrown if
columns/rows/scrollbarVisibility had an invalid value). Again, this is
based on Harmony's TestSuite.

On Wed, 2006-06-28 at 13:35 -0400, Tania Bento wrote:
> Hey guys,
> 
> This patch fixes a failing Harmony Test (TextAreaTest.testReplaceText).
> These changes follow the reference implementation. Can someone please
> approve and/or comment on this patch. 
> 
> Thanks,
> Tania
> 
> 2006-06-28  Tania Bento  <tbento at redhat.com>
> 	
> 	*java/awt/TextArea.java
> 	(replaceText): Implemented case when peer == null.
> 	(TextArea): Doesn't throw Exception in constructor if rows
> 	or columns < 0. It just sets them to 0.
> 	(TextArea): Doesn't throw Exception if scrollbarVisibility
> 	< 0 and > 4. It just sets it to 0.




More information about the Classpath-patches mailing list