CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Roman Kennke <rabbit78> 06/07/13 19:27:07
Modified files:
java/awt : Component.java Container.java
. : ChangeLog
Log message:
2006-07-13 Roman Kennke <[EMAIL PROTECTED]>
* java/awt/Component.java
(DEFAULT_MAX_SIZE): New static constant.
(preferredSize): Return copy of the actual value computed
by new helper method.
(preferredSizeImpl): New helper method. Adds locking and
correct handling of cached value.
(minimumSize): Return copy of the actual value computed
by new helper method.
(minimumSizeImpl): New helper method. Adds locking and
correct handling of cached value.
(getMaximumSize): Return copy of the actual value computed
by new helper method.
(maximumSizeImpl): New helper method. Adds locking and
correct handling of cached value.
(invalidate): Correct handling of cached layout information.
Added locking.
* java/awt/Container.java
(preferredSize): Minimized locking. Corrected handling of cached
values. Return copy of real value.
(minimumSize): Minimized locking. Corrected handling of cached
values. Return copy of real value.
(getMaximumSize): Minimized locking. Corrected handling of
cached
values. Return copy of real value.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Component.java?cvsroot=classpath&r1=1.132&r2=1.133
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Container.java?cvsroot=classpath&r1=1.97&r2=1.98
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8090&r2=1.8091