Mon application CLI JDK 9+181 Spring Boot 2.0.0.BUILD-SNAPSHOT affiche cet avertissement au démarrage :
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (jar:file:/home/jan/src/fm-cli/target/fm-cli-0.1.0-SNAPSHOT.jar!/BOOT-INF/lib/spring-core-5.0.0.RELEASE.jar!/) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
Il s'agit d'une application console, je dois donc désactiver cet avertissement - comment puis-je faire ?
Note : Cette question pose le problème spécifique de la désactivation de cet avertissement déclenché par Spring ; elle ne fait pas double emploi avec la question suivante JDK9 : Une opération illégale d'accès réfléchi s'est produite. org.python.core.PySystemState qui traite d'un symptôme similaire dans une autre bibliothèque.