You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public static void main(String[] args) {
Unifiedorder unifiedorder = new Unifiedorder();
unifiedorder.setSign("a");
String unifiedorderXML = XMLConverUtil.convertToXML(unifiedorder);
System.out.println(unifiedorderXML);
}
环境:java14,以上代码执行会报警告:
content:WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (jar:file:/app/app.jar!/BOOT-INF/lib/jaxb-impl-2.1.12.jar!/) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
The text was updated successfully, but these errors were encountered:
环境:java14,以上代码执行会报警告:
The text was updated successfully, but these errors were encountered: