Fix for Bug 362200 - Failures in OTTypeHierarchyTests.
diff --git a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java
index 0555b43..0580681 100644
--- a/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java
+++ b/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java
@@ -542,9 +542,7 @@
 }
 private void rememberWithMemberTypes(TypeDeclaration typeDecl, IType typeHandle) {
 //{ObjectTeams: ensure all OT types have their OTType set:
-	if (   !((CompilationUnit)typeHandle.getCompilationUnit()).isOpen()
-		&& (typeDecl.isTeam() || typeDecl.isDirectRole()))
-	{
+	if (typeDecl.isTeam() || typeDecl.isDirectRole()) {
 		if (!OTModelManager.hasOTElementFor(typeHandle)) {
 			String baseClassName = null;
 			String baseClassAnchor = null;