Adapts to ice4j changes.