Community
Participate
Working Groups
Currently, the implementation will return null if the size parameter does not match the size of the icon as specified within the <Icon> "size" XML attribute. The CT is changing so that implementations must never return null if a valid icon exists and the size parameter is a positive integer. The parameter represents the requested size. The icon should always be returned even when it does not represent the requested size. See https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1975 https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1974 https://www.osgi.org/members/bugzilla/show_bug.cgi?id=1979
Created attachment 194366 [details] Proposed Patch This patch simply removes the check to see if the requested icon size matches the specified size.
Patch looks good. A separate bug should be opened since we think the OSGi schema is wrong and multiple icons should be allowed. I suggest we address that bug post 3.7.
Changes committed to head.