Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 559392

Summary: Put ERROR_NO_MORE_CALLBACKS check into Callback constructor
Product: [Eclipse Project] Platform Reporter: Nikita Nemkin <nikita>
Component: SWTAssignee: Nikita Nemkin <nikita>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 4.15   
Target Milestone: 4.15 M3   
Hardware: PC   
OS: All   
See Also: https://git.eclipse.org/r/156307
https://git.eclipse.org/c/platform/eclipse.platform.swt.git/commit/?id=552c841cdec57d1445d04f981fead6cc3fbd21c8
Whiteboard:
Bug Depends on:    
Bug Blocks: 549414    

Description Nikita Nemkin CLA 2020-01-22 04:21:17 EST
Every instance of new Callback() checks for ERROR_NO_MORE_CALLBACKS right afterwards. Callback constructor should do the check instead. It better matches SWT convention and saves a lot of checks in client code.
Comment 1 Eclipse Genie CLA 2020-01-22 04:23:54 EST
New Gerrit change created: https://git.eclipse.org/r/156307