You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Austin Stephens (JIRA)" <ji...@apache.org> on 2018/05/14 19:38:00 UTC

[jira] [Created] (NETBEANS-790) Cannot have the the cancel button on the showProgressDialogAndRun not interrupt the working thread.

Austin Stephens created NETBEANS-790:
----------------------------------------

             Summary: Cannot have the the cancel button on the showProgressDialogAndRun not interrupt the working thread.
                 Key: NETBEANS-790
                 URL: https://issues.apache.org/jira/browse/NETBEANS-790
             Project: NetBeans
          Issue Type: Bug
          Components: platform - Progress
    Affects Versions: 9.0
            Reporter: Austin Stephens


Some libraries (such as h2 and lucene when using nio) don't like it if you interrupt their thread when they are doing work. It causes bad things to happen (see https://github.com/h2database/h2database/issues/227). There is currently no way to ask the Progress API to not interrupt a thread when cancelling.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists