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

Bug 320282

Summary: Font ctor should not accept null name
Product: [RT] RAP Reporter: Benjamin Muskalla <b.muskalla>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.3   
Target Milestone: 1.4 M1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
testcase none

Description Benjamin Muskalla CLA 2010-07-19 11:27:15 EDT
Currently the Font ctor accepts null in case we had an empty string before as both of them end up with the same hash code. ResourceFactory#fontHashcode should not accept null as name parameter.
Comment 1 Benjamin Muskalla CLA 2010-07-19 11:27:38 EDT
Created attachment 174633 [details]
testcase

.
Comment 2 Ralf Sternberg CLA 2010-07-22 00:00:36 EDT
Fix and TestCase in CVS HEAD.