Weak-star compactness and its relevance to analyticity problems