-
Bug
-
Resolution: Cannot Reproduce
-
P2
-
None
-
1.4.0
-
sparc
-
solaris_2.6
Name: auR10023 Date: 01/30/2001
Method javax.swing.TransferHandler.exportAsDrag(JComponent, InputEvent, int)
fails with core dump.
Here is the example:
--------Test.java----------
public class Test{
public static void main(String [] args) {
TestComp c = new TestComp();
TransferHandler testHandler = new TransferHandler("stringProperty");
c.setTransferHandler(testHandler);
testHandler.exportAsDrag(
c,
new MouseEvent (c,
MouseEvent.MOUSE_CLICKED,
(new Date()).getTime(),
0, 0, 0, 1, false),
TransferHandler.COPY);
}
}
-------TestComp.java-------
public class TestComp extends javax.swing.JComponent implements java.io.Serializable {
private String stringProperty = "val";
public void setStringProperty(String val) {
stringProperty = val;
}
public String getStringProperty() {
return stringProperty;
}
}
-------output----------
#java -version
java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b48)
Java HotSpot(TM) Client VM (build 1.4beta-B48, mixed mode)
#java -cp . Test
Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
Unexpected Signal : 11 occurred at PC=0xee8e7e24
Function name=
Library=/net/sword/export3/JDK1.4.0beta-b48/solaris/jre/lib/sparc/client/libjvm.so
Current Java thread:
at sun.awt.motif.MDragSourceContextPeer.startDrag(Native Method)
at sun.awt.motif.MDragSourceContextPeer.startDrag(MDragSourceContextPeer.java:68)
at sun.awt.dnd.SunDragSourceContextPeer.startDrag(SunDragSourceContextPeer.java:97)
at java.awt.dnd.DragSource.startDrag(DragSource.java:294)
at java.awt.dnd.DragSource.startDrag(DragSource.java:391)
at java.awt.dnd.DragGestureEvent.startDrag(DragGestureEvent.java:187)
at javax.swing.TransferHandler$DragHandler.dragGestureRecognized(TransferHandler.java:611)
at java.awt.dnd.DragGestureRecognizer.fireDragGestureRecognized(DragGestureRecognizer.java:335)
at javax.swing.TransferHandler$SwingDragGestureRecognizer.gestured(TransferHandler.java:679)
at javax.swing.TransferHandler.exportAsDrag(TransferHandler.java:132)
at Test.main(Test.java:11)
Dynamic libraries:
0x10000 /set/java/jdk1.4/solaris/bin/../bin/sparc/native_threads/java
0xef770000 /auR10023/lib//libthread.so.1
0xef7b0000 /auR10023/lib//libdl.so.1
0xef680000 /auR10023/lib//libc.so.1
0xef750000 /auR10023/platform/SUNW,Ultra-2/lib/libc_psr.so.1
0xee800000 /net/sword/export3/JDK1.4.0beta-b48/solaris/jre/lib/sparc/client/libjvm.so
0xef630000 /auR10023/lib//libCrun.so.1
0xef610000 /auR10023/lib//libsocket.so.1
0xef500000 /auR10023/lib//libnsl.so.1
0xef5d0000 /auR10023/lib//libm.so.1
0xef670000 /auR10023/lib//libw.so.1
0xef5a0000 /auR10023/lib//libmp.so.2
0xef4e0000 /net/sword/export3/JDK1.4.0beta-b48/solaris/jre/lib/sparc/native_threads/libhpi.so
0xef4b0000 /net/sword/export3/JDK1.4.0beta-b48/solaris/jre/lib/sparc/libverify.so
0xef470000 /net/sword/export3/JDK1.4.0beta-b48/solaris/jre/lib/sparc/libjava.so
0xef440000 /net/sword/export3/JDK1.4.0beta-b48/solaris/jre/lib/sparc/libzip.so
0xed010000 /net/sword/export3/JDK1.4.0beta-b48/solaris/jre/lib/sparc/libawt.so
0xe4700000 /net/sword/export3/JDK1.4.0beta-b48/solaris/jre/lib/sparc/motif12/libmawt.so
0xeaf90000 /set/java/jdk1.4/solaris/bin/../jre/lib/sparc/libmlib_image.so
0xe4500000 /auR10023/lib//libXm.so.3
0xeae90000 /auR10023/openwin/lib/libXt.so.4
0xeadd0000 /auR10023/openwin/lib/libXext.so.0
0xeadb0000 /auR10023/openwin/lib/libXtst.so.1
0xe4400000 /auR10023/openwin/lib/libX11.so.4
0xead90000 /auR10023/openwin/lib/libSM.so.6
0xeacd0000 /auR10023/openwin/lib/libICE.so.6
0xe4300000 /net/sword/export3/JDK1.4.0beta-b48/solaris/jre/lib/sparc/libfontmanager.so
Local Time = Tue Jan 30 18:05:23 2001
Elapsed Time = 5
#
# HotSpot Virtual Machine Error : 11
# Error ID : 4F530E43505002C3 01
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.4beta-B48 mixed mode)
#
# An error report file has been saved as hs_err_pid592.log.
# Please refer to the file for further information.
#
Abort (core dumped)
======================================================================
- relates to
-
JDK-4404631 Regression: test/java/awt/dnd/DnDAcceptanceTest crashes on Solaris
-
- Closed
-