Community
Participate
Working Groups
The return value should go through CDOUtil.getEObject() because CDOLegacyAdapter can not be cast to T normally.
Created attachment 170052 [details] Patch For future reference
Changed to: CDOID id = object.cdoID(); InternalCDOObject contextified = getObject(id, true); @SuppressWarnings("unchecked") T cast = (T)CDOUtil.getEObject(contextified); return cast;
Available in 3.0 GA: http://download.eclipse.org/modeling/emf/cdo/updates/3.0-releases/