Community
Participate
Working Groups
Build ID: M20080911-1700 I found this in org.eclipse.ui's popupMenus.exsd: <element name="objectContribution"> ... <complexType> <attribute name="objectClass" type="string" use="required"> <annotation> <documentation> a fully qualified name of the class or interface that all objects in the selection must subclass or implement. </documentation> <appinfo> <meta.attribute kind="java" basedOn="java.lang.object"/> </appinfo> </annotation> </attribute> ... In my JRE the class java.lang.object is unknown ;-) This occurred in the context of bug 61185, where javaProject.findType(superTypeName) unexpectedly returns null. In this context it doesn't cause user-visible harm, but here we're simply lucky because super type Object means exactly the same as not giving a valid super type...
Any reason for not changing "object" to "Object"? ;-)
Is this just too trivial to be fixed?
(In reply to comment #2) > Is this just too trivial to be fixed? We do try and fix these kinds of bugs, (usually 7-12 per milestone). It requires time, that's all, and now in the endgame I have a disappearing menu item that takes priority :-) PW
Wow, this tiniest littlest bug is past its first birthday ;-)
(In reply to comment #4) > Wow, this tiniest littlest bug is past its first birthday ;-) popupMenus never gets touched (and hence never gets fixed :-) Feel free to attach a patch (I always search for bugs with patches when looking for the little things to fix) PW
Created attachment 153949 [details] patch hooray, the smallest patch I'll ever submit ;-)
Thank you for your patience (sorry about that). PW
In I20100126-0100 PW