mbien commented on issue #5634:
URL: https://github.com/apache/netbeans/issues/5634#issuecomment-1590070379
> Doesn't matter what I did. Sometimes it is the Background Scanning
progress. Sometimes it is the Git Refresh Indices and sometimes others. ... And
when I hit cancel sometimes nothing happens.
well this isn't useful since those task have completely different
implementations. The task has to support cancellation. The button is just a
button which tells the task to cancel. Cancelling a thread is always a best
effort situation, you can interrupt it if it is blocking on IO or locks and
when its not you hope that it runs into the next `if (cancelled) return` check.
Thats it.
Cancelling a process, like a different JVM is again a completely different
situation. So please be concrete here or nobody will be able to investigate
this issue.
```java
public class Mavenproject2 {
public static void main(String[] args) {
JFrame frame = new JFrame();
frame.setSize(200, 200);
frame.setVisible(true);
}
}
```
I ran this on linux as maven project on JDK 20, pressed the stop button,
closed NetBeans and everything shut down no questions asked.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists