Community
Participate
Working Groups
IRSESystemType.getAdapter() is used as follows: RSESystemTypeAdapter a = (RSESystemTypeAdapter)systemType.getAdapter(IRSESystemType.class) This violates getAdapter() API since - the input to getAdapter() is the class itself, so it should return the class itself rather than its adapter - The result does not implement the interface passed in Correct usage should be: RSESystemTypeAdapter a = (RSESystemTypeAdapter)systemType.getAdapter(RSESystemTypeAdapter.class) The RSESystemTypeAdapterFactory needs to be fixed accordingly.
Fixed, checkin comment: [186779] Fix IRSESystemType.getAdapter()
Migration Docs: --------------- This change must be migrated manually, because no compile error will be thrown. But it's easy to apply with a text search-and-replace: SEARCH: IRSESystemTypeAdapter.class FILTER: getAdapter REPLACE: RSESystemTypeAdapter.class i.e., all calls of the form getAdapter(IRSESystemType.class) need to be replaced by getAdapter(RSESystemTypeAdapter.class)
[target cleanup] 2.0 M7 was the original target milestone for this bug