IOOBE with FX 8
Jonathan Giles
jonathan.giles at oracle.com
Wed Jan 30 13:16:36 PST 2013
Can you provide the code snippet you're using for the
ListChangeListener? Are you remembering to follow the following pattern:
while (change.next()) {
...
}
For a better code snippet, refer here:
http://docs.oracle.com/javafx/2/api/javafx/collections/ListChangeListener.Change.html
-- Jonathan
On 31/01/2013 10:10 a.m., Sven Reimers wrote:
> Hi,
>
> trying out my FX application (vmFX on top of eFX) with latest JDK8 binaries
> on Mac I often get
>
> java.lang.IndexOutOfBoundsException: toIndex = 1
> at java.util.SubList.<init>(AbstractList.java:622)
> at java.util.AbstractList.subList(AbstractList.java:484)
> at
> com.sun.javafx.collections.BaseModifiableObservableList.subList(BaseModifiableObservableList.java:145)
> at
> javafx.collections.ListChangeListener$Change.getAddedSubList(ListChangeListener.java:221)
>
> Is this something to report with OpenJFX or with OpenJDK 8 or shall I try
> to dig deeper?
>
> Thanks
>
> Sven
>
More information about the openjfx-dev
mailing list