This is a regression. It works fine with 1.2.2 (all versions) and on windows 2k.
+ >
+ >
+ >The add() method (below) and calls to "requestFocus()" seem to
+ >be triggering
+ >this (though it is somewhat intermittant). I am including
+ >
+ >
+ >public void addCellEditor(String key, Component editor) {
+ > editors_.put(key, editor);
+ > add(editor);
+ > editor.setVisible(false);
+ > editor.setFont(getFont());
+ > editor.setBounds(0,0,0,0);
+ >}
+ >
+ >1-----------------------------------------------------------------
+ >
+ >An unexpected exception has been detected in native code
+ >outside the VM.
+ Test case:
***The class files and source code provided are the property of Vitria Technology, Incorporated and should be used for the sole purpose of reproducing a 1.3.x VM (Solaris) core dump. ***
Instructions for reproduction:
1. set up environment to point to a 1.3.x VM or 1.4 VM
2. put VitriaTest.jar as the sole item in the CLASSPATH
3. untar libpath.tar and add the resulting directory in the LD_LIBRARY_PATH (needed for Vitria's I18N framework)
3. execute "java VitriaTest"
4. After the application's frame becomes visible, use the choice button in the
upper left in the frame to switch property sheets. Before switching, select
a cell in the property sheet.
5. After 1-4 times changing spreadsheets, the VM will core dump.
Also:
6. expand the "+" icon property category.
7. Click on the right side cell of the "Browse" column.
8. Notice the constant repainting of the cell with the Choice box.
These problems do not occur with the 1.2.2 versions of the JDK. Nor have these
issues been witnessed when executing on top of windows VMs. Please try
these noted VMs to compare.
Also, using this version of the VM:
java version "1.4.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)
will result in the core dumps. Furthermore, the behavior is different with
regards to steps #6, #7, #8. When using this version of the VM, the choice
control is not painted inside of the property sheet cell and the choice control
at the top of the frame seems to grab the focus.
A fix is needed. Notes in regard to possible workarounds would also be much
appreciated.