範例

public class ClassA extends java.security.Identity {{
}

解決方案
避免使用已淘汰的類別,改用它的置換類別 KeyStore 和 Principal。