Community
Participate
Working Groups
Build Identifier: I-3.3.0-20101021033924 The JUnits org.eclipse.jst.jee.model.ejb.tests.testProviderForNonExistingProject() and org.eclipse.jst.jee.model.web.tests.testProviderForNonExistingProject() check fot an IllegalArgumentException when ModelProviderManager.getModelProvider(IProject) is called on non-existing project. But the method is returning null. In fact, the API says it expects a null back. Reproducible: Always Steps to Reproduce: 1. Run the AllAnnotationModelModelTests suite.
Created attachment 182664 [details] Check for null instead of IllegalArgumentException.
approve
Code checked into both 32M and HEAD for WTP 3.2.3 and 3.3