[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-openjfx-dev
Subject: Re: IOOBE with FX 8
From: Sven Reimers <sven.reimers () gmail ! com>
Date: 2013-01-31 10:48:45
Message-ID: CAP+Jvx4KRyVbEkwJjp1e0P4-nBZnXJB5VCY8EtCDH+ovfCatXw () mail ! gmail ! com
[Download RAW message or body]
I will try to get a reproducible test case, actually I am trying to adapt
eFX and vmFX to new FX 8 and Modena (nice!!) nad ist just happened clicking
around.
Will let you know and file a bug, if I can have a test case.
Thanks
-Sven
On Thu, Jan 31, 2013 at 9:10 AM, Martin Sladecek <martin.sladecek@oracle.com
> wrote:
> So this doesn't happen with JDK 7, if I understand it correctly.
> Can you provide me some working sample and file it to JIRA?
>
> Thanks,
> -Martin
>
>
> On 01/30/2013 10:21 PM, Sven Reimers wrote:
>
> > Sure
> >
> > ...
> >
> > providers.addListener(new ListChangeListener<Provider>() {
> > @Override
> > public void onChanged(Change<? extends Provider> change) {
> > while (change.next()) {
> > if (change.wasAdded()) {
> > int j = 0;
> > for (Provider provider :
> > change.getAddedSubList()) {
> >
> >
> > ...
> > Thanks
> >
> > Sven
> >
> >
> > On Wed, Jan 30, 2013 at 10:16 PM, Jonathan Giles
> > <jonathan.giles@oracle.com>**wrote:
> >
> > 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/**
> > > ** <http://docs.oracle.com/javafx/**>
> > > 2/api/javafx/collections/****ListChangeListener.Change.**html<
> > > http://docs.oracle.com/**javafx/2/api/javafx/**collections/**
> > > ListChangeListener.Change.html<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
> > > >
> > > >
> > > >
> >
>
--
Sven Reimers
* Senior Expert Software Architect
* NetBeans Dream Team Member: http://dreamteam.netbeans.org
* NetBeans Governance Board Member:
http://netbeans.org/about/os/governance.html
* Community Leader NetBeans: http://community.java.net/netbeans
Desktop Java:
http://community.java.net/javadesktop
* Duke's Choice Award Winner 2009
* Blog: http://nbguru.blogspot.com
* XING: https://www.xing.com/profile/Sven_Reimers8
* LinkedIn: http://www.linkedin.com/in/svenreimers
Join the NetBeans Groups:
* XING: http://www.xing.com/group-20148.82db20
* NUGM: http://haug-server.dyndns.org/display/NUGM/Home
* LinkedIn: http://www.linkedin.com/groups?gid=1860468
http://www.linkedin.com/groups?gid=107402
http://www.linkedin.com/groups?gid=1684717
* Oracle: https://mix.oracle.com/groups/18497
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic