JDK1.5 causes Swing+JNI doesn't work sometimes
The background is:
- GUI is built with Swing
- JNI mechanism is used
- In native code, there are some memory operations.
(Each compoment is unit tested and proved to be working fine)
The situation is:
(1) When compile and run with JDK1.4, the application always works fine.
(2) When compile and run with JDK1.5, the application doesn't work sometimes. UI crashes with "segmentation fault" occasionaly.
I did a lot of debugs, but failed to isolate the component which causes the problem. I guess it's most likely caused by potential impacts from JDK1.5.(JDK1.5 is a big release with many changes)
Anyone got similar experience/problem while upgrading from 1.4 to 1.5?
Anyone has any ideas, tips or implicatons?
Thanks in advance!

