Fix following WARN logs in the SI server which were observed in a Windows environment
WARNING: Unknown module: ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED --add-opens=java.base/[java.net](http://java.net/)=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED specified to --add-opens
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.osgi.storage.FrameworkExtensionInstaller (file:C:/WSO2SI~1.0/bin/../wso2/lib/plugins/org.eclipse.osgi_3.14.0.v20190517-1309.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.eclipse.osgi.storage.FrameworkExtensionInstaller
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
Approach
Update JAVA_VER_BASED_OPTS in <SI_HOME>/wso2/server/bin/carbon.bat
Purpose
Approach
JAVA_VER_BASED_OPTS
in<SI_HOME>/wso2/server/bin/carbon.bat