On Thu, 9 Jul 2026 18:06:48 GMT, Andy Goryachev <[email protected]> wrote:
>> John Hendrikx has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Fix flakey check on (asynchronous) stderr output > > modules/javafx.base/src/main/java/com/sun/javafx/binding/ArrayManager.java > line 85: > >> 83: >> 84: /** >> 85: * Gets the occupied slots of the array under management. > > it's an internal class, but "occupied slots" is confusing - the number of, or > some kind of bitmap telling which slots are occupied and which are not? I will change the terms I use; I will call this `size`, and the other uses of size which refer to the capacity I will call `capacity`. So size works the same then as with `ArrayList` then, where an array can have a capacity of 30 elements, but only `size` elements are currently in use, leaving some room to grow without having to reallocate the array. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1081#discussion_r3558770988
