Menu

#1322 FTP: run GUI code in the AWT thread

None
pending-fixed
None
5
2014-04-19
2010-05-17
No

FTP's ConnectionManager.getConnectionInfo() will execute AWT code in the calling thread; this makes it risky to perform VFS operations that touch the FTP plugin from a worker thread, since it may run GUI code.

Instead, it should make sure GUI code executes in the AWT thread by using something like SwingUtilities.invokeAndWait() if the current thread is not the AWT thread.

Discussion

  • Alan Ezust

    Alan Ezust - 2014-04-19
    • status: open --> pending-fixed
    • Group: -->
     
  • Alan Ezust

    Alan Ezust - 2014-04-19

    I believe this is fixed in Ftp 1.1? Please close or re-open if it is not.

     
  • Alan Ezust

    Alan Ezust - 2014-04-19
    • assigned_to: Alan Ezust
     

Log in to post a comment.