RFR: 8276553: ListView scrollTo() is broken after fix for JDK-8089589 [v2]

Ajit Ghaisas aghaisas at openjdk.java.net
Fri Dec 3 14:44:12 UTC 2021


On Fri, 3 Dec 2021 11:16:28 GMT, Johan Vos <jvos at openjdk.org> wrote:

> The hard values have been changed a number of times, and I believe it is not really a good metric.

I agree completely.

> Rather than requiring that the amount of calls should be a fixed number, I think it makes more sense to ensure that the amount of calls stays within reasonable boundaries, and is not growing exponentially when we add linearly more items, for example.

My point is exactly this. I see that as part of this PR, you have added the upper boundary (rather than a fixed number) for assertions. I am asking whether we need a lower boundary as well?

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

PR: https://git.openjdk.java.net/jfx/pull/683


More information about the openjfx-dev mailing list