Following a Java upgrade from 7.x/8.x to 11.x.x, some warning messages are generated in unistart.log upon Univiewer Management Server (UVMS) startup. Nevertheless, UVMS starts successfully as expected.
The following warning messages in "unistart.log" when UVMS is started: ########## WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$2 (file:/C:/xxxxxxx/UVMS/xxxxxxx_MgtServer/app/jars/cglib.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 net.sf.cglib.core.ReflectUtils$2 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 ##########
Cause
The issue is caused by a restriction (access to non-public fields/methods) added in Java 11 that generates an exception when using the "cglib.jar" (third-party library) by UVMS.
Environment
UVMS 6.x.xx using Java 11.x.x on Windows or Linux.
Resolution
Despite of these warning messages, the UVMS starts successfully and functions properly.
Please ignore this warning messages, our Q&A department determined that it has no negative effect on function or performance.