United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 7143768 [macosx] Unexpected NullPointerException and java.io.IOException during DnD
7143768 : [macosx] Unexpected NullPointerException and java.io.IOException during DnD

Details
Type:
Bug
Submit Date:
2012-02-08
Status:
Closed
Updated Date:
2013-01-24
Project Name:
JDK
Resolved Date:
2012-03-23
Component:
client-libs
OS:
os_x
Sub-Component:
javax.swing
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
7u4
Fixed Versions:
7u4

Related Reports
Backport:

Sub Tasks

Description
Unexpected NullPointerException and java.io.IOException during DnD on Metal L&F

Steps to reproduce:
1. Run attached test
2. Select any file in FileChooser
3. Drag selected file and drop it on JEditorPane on the bottom of JFrame

On Aqua L&F this test do nothing. There is no DnD at all.

Test and Exceptions attached.

                                    

Comments
http://cr.openjdk.java.net/~kizune/7143768/webrev.00/
http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/da13897c1a29
                                     
2013-01-24
EVALUATION

Methods convertFileListToBytes and isURIListFormat are not implemented in CDataTransferer which causes these exceptions to be thrown. Idea of the fix is to implement these two methods.
                                     
2012-02-13



Hardware and Software, Engineered to Work Together