Patch: FYI: minor GridBagLayout fixes

Tom Fitzsimmons fitzsim@redhat.com
Fri Nov 14 23:17:00 GMT 2003


I checked in the attached patch as obvious.  It fixes three Acunia test
cases that were throwing NPEs.

Tom

2003-11-14  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* java/awt/GridBagLayout.java (getLayoutDimensions): Return array of
two
	zero-length int arrays when layoutInfo is null.
	(getLayoutWeights): Return array of two zero-length double arrays when
	layoutInfo is null.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: layout-info.patch
Type: text/x-patch
Size: 1282 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20031114/bf64891d/attachment.bin>


More information about the Java-patches mailing list