[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: Re: RFR: 8290765: Remove parent disabled/treeVisible listeners [v2]
From: Michael =?UTF-8?B?U3RyYXXDnw==?= <mstrauss () openjdk ! org>
Date: 2022-08-26 4:43:14
Message-ID: piSo2x_EqMVLl3Li9WhN00seszO76UGgKBNtk-M5WdA=.4e1005f5-7b3e-4856-acf8-b4e1eb8562c2 () github ! com
[Download RAW message or body]
On Fri, 26 Aug 2022 03:43:49 GMT, Nir Lisker <nlisker@openjdk.org> wrote:
> I haven't looked at the code yet, but in general it's not considered a good idea to \
> expose an object before it's instantiated. Not sure if we have a choice here \
> though.
I agree, that's why the `underConstruction` flag is used to prevent calling \
`getRoot()` and `getChildren()`, which would leak a partially constructed instance to \
derived classes.
-------------
PR: https://git.openjdk.org/jfx/pull/841
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic