maven hits jar package, type conversion causes npe

Source File
public static String get(String key) {
    return get(key, String.class);
}


Class file after jar package
public static String get(String key) {
    return (String)get(key, String.class);
}


If the called get method is not empty, it may report npe

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326944090&siteId=291194637