Warnings when ./Deploy.sh is run: An illegal reflective access operation has occurred

Hi,

When running the command ./Deploy.sh to upload code to production, I am receiving the following warnings in console:

(base) Mitch@MacBook-Pro bin % ./Deploy.sh 
Path to "JAVA_HOME": /Library/Java/JavaVirtualMachines/jdk-11.0.7.jdk/Contents/Home
----------------------------------------
Running CodeRunner ...
env JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.7.jdk/Contents/Home /Library/Java/JavaVirtualMachines/jdk-11.0.7.jdk/Contents/Home/bin/java -XX:-OmitStackTraceInFastThrow -XX:+HeapDumpOnOutOfMemoryError -server -Xms384m -Xmx768m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Dlogback.configurationFile=logback.xml -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005 -Dcom.sun.management.jmxremote.port=1097 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=backendless-dev.local -cp "*:../libs/*" com.backendless.coderunner.CodeRunnerLoader deploy
----------------------------------------

Listening for transport dt_socket at address: 5005
06:38:33.846 [INFO] c.b.c.CodeRunnerLoader |main| JDK from "JAVA_HOME" - /Library/Java/JavaVirtualMachines/jdk-11.0.7.jdk/Contents/Home
06:38:33.876 [INFO] c.b.c.CommandLineProcessor |main| CodeRunner(tm) Backendless Debugging Utility
06:38:33.879 [INFO] c.b.c.CommandLineProcessor |main| Copyright(C) 2023 Backendless Corp. All rights reserved. 
06:38:33.879 [INFO] c.b.c.CommandLineProcessor |main| Build date: 2020-03-13T11:25:23Z
Version: 5.7.2.6.cloud
Build id: 108963
VCS revision: 824d816d2bf6201517a601ad4248e041bb2f780b
06:38:33.883 [INFO] c.b.c.CommandLineProcessor |main| CodeRunner session is running for 2 hours and will be terminated on 08:38:33.881845[UTC]

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.backendless.coderunner.runtime.security.CodeRunnerSecurityManager (file:/Users/Mitch/BTC%20Markets%20Ticker/BTCMarketsTicker%20-%20Backendless/bin/CodeRunner.jar) to field java.lang.ThreadGroup.nUnstartedThreads
WARNING: Please consider reporting this to the maintainers of com.backendless.coderunner.runtime.security.CodeRunnerSecurityManager
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

Please advise if anything needs to be done to avoid this, or if the script will stop working in future.

Thanks

Hello @mitchell

You can ignore these warnings specifically.

Regards,
Inna

1 Like

Thanks Inna!