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!

[804 byte] By [princesuna] at [2007-10-2 16:14:24]
# 1
Seems this is a ambiguous and tough topic.Anyone has the similar experience when using JDK1.5?
princesuna at 2007-7-13 17:02:56 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...