Community
Participate
Working Groups
Created attachment 159280 [details] patch for org.eclipse.gmt.modisco.infra.query.core.java. JavaModelQueryFactory If I provide a class A for a JavaModelQuery witch inherits from a class B witch implements IJavaModelQuery, i obtain the following error : "A does not implement IJavaModelQuery." I suggest to use the method isAssignableFrom instead of getInterfaces from the class Class. The method isAssignableFrom take care of all interfaces implemented by a class whereas getInterfaces scopes only on interfaces declared by the class. A patch proposition is join.
Hi, This bug has been fixed by applying the proposed patch and a unit test has been created to avoid regressions. Regards, Grégoire
Patch applied and new test created.