|
From: | cvs-commit at developer dot classpath dot org |
Subject: | [Bug awt/34576] isAncestorOf returns true for the component itself |
Date: | 25 Dec 2007 00:21:28 -0000 |
------- Comment #2 from cvs-commit at developer dot classpath dot org 2007-12-25 00:21 ------- Subject: Bug 34576 CVSROOT: /cvsroot/classpath Module name: classpath Changes by: Andrew John Hughes <gnu_andrew> 07/12/25 00:21:02 Modified files: . : ChangeLog java/awt : Container.java Log message: 2007-12-25 Andrew John Hughes <address@hidden> PR classpath/34576: * java/awt/Container.java: (isAncestorOf(Component)): Swap ordering so that the parent is retrieved prior to checking against this, thus preventing a component being an ancestor of itself. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9450&r2=1.9451 http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Container.java?cvsroot=classpath&r1=1.112&r2=1.113 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34576
[Prev in Thread] | Current Thread | [Next in Thread] |