This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
ShortcutAndMenuKeyEventProcessor holds reference to the last event, while the event holds reference to the event source. That means the last component that received key event can't be freed from memory (but only until another one gets the key event routed through SAMKEP). Although not a real leak, it is annoying while looking for real leaks. Fix should be simple.
Tomas said he will fix it.
Created attachment 11876 [details] Patch to fix this problem
Petr, could you be so kind and try to run the core/windows/ test with this patch. The tests does not work with Project build. The patch should be quite safe, but for sure. Thanks
Did you wanted to see something like: [printSummary] Expected Passes: 18 Unexpected Passes: 0 [printSummary] Expected Fails: 0 Unexpected Fails: 0 Errors: 0 [printSummary] Total: 18 Success Rate: 100,00% ? So here it goes :-)
Thanks. Ok, in that case I am going to commit the change.
Fixed
Can't leak anymore