-
Bug
-
Resolution: Won't Fix
-
P3
-
7u15
-
OS Version: Mac OS X 10.7.5 (11G63)
Path: /Library/Java/JavaVirtualMachines/jdk1.7.0_15.jdk/Contents/Home/bin/java
Hi,
the JVM crashes on Mac OS X when running the attached program and dragging the scrollbar handle up and down several times.
The crash occurs on JDK 1.7 u15 and JDK 1.7 u7 (I tried it with these).
Several things contribute to the crash:
1) The class Item uses an ObjectProperty to hold a File instance and this property is used in Items.equals().
2) The program creates a Scene with nested BorderPanes and finally a TableView<Item>.
3) When Item.equals() is commented out, the crash disappears.
4) In Item.equals() when the call to ObjectProperty's equals() is replaced with the call to value's equals(), the crash disappears. (file.equals() -> file.get().equals() )
5) When the layout is changed in some way, the crash disappears (for instance having only one BorderPane).
(I can't seem to attach files, so I put them in separate comments)
Best wishes,
Rainer Schwarze
the JVM crashes on Mac OS X when running the attached program and dragging the scrollbar handle up and down several times.
The crash occurs on JDK 1.7 u15 and JDK 1.7 u7 (I tried it with these).
Several things contribute to the crash:
1) The class Item uses an ObjectProperty to hold a File instance and this property is used in Items.equals().
2) The program creates a Scene with nested BorderPanes and finally a TableView<Item>.
3) When Item.equals() is commented out, the crash disappears.
4) In Item.equals() when the call to ObjectProperty's equals() is replaced with the call to value's equals(), the crash disappears. (file.equals() -> file.get().equals() )
5) When the layout is changed in some way, the crash disappears (for instance having only one BorderPane).
(I can't seem to attach files, so I put them in separate comments)
Best wishes,
Rainer Schwarze