> A container may include few default components as children, which are added 
> to it during creation. Due to this, calling function getChildrenCount on a 
> new created instance may return non zero value. This behaviour may vary 
> according to L&F also, as some L&F may add some default components to a 
> container, but other L&F may choose not to do so.
> 
> The current bugs reports that this behaviour looks suspicious as it is 
> expected that a newly created container will have zero  children.
> 
> Current specification is not clear on this whether it is allowed for a 
> container to contain default components or not. The fix make changes to the 
> specification to clarify the same.
> 
> Note: I think this will need a CSR, I will file one after the review is 
> completed

Pankaj Bansal has updated the pull request incrementally with one additional 
commit since the last revision:

  Review Comments

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5121/files
  - new: https://git.openjdk.java.net/jdk/pull/5121/files/86a488c5..ff7edbde

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5121&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5121&range=00-01

  Stats: 9 lines in 1 file changed: 4 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5121.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5121/head:pull/5121

PR: https://git.openjdk.java.net/jdk/pull/5121

Reply via email to