Java Warnings - WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 on sonar-tsql-plugin.jar

While using SonarQube on Azure Devops, the build pipelines greets us with Warnings about reflective access on net.sf.cglib.core.ReflectUtils$1. We’re using the SonarTS plugin, and we run our sonarqube on a docker agent.

The processes work fine, but the Errors get picked up by the pipelines and are unpleasant in our reporting.

I have seen a few other threads concerning the same warnings, one touching protobuf (Java issue- WARNING: An illegal reflective access operation has occurred).

How would one go about fixing this or quieting the error at the very least?

See error below.

##[error]WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/root/.sonar/cache/a89f1943fc75b65becd9fb4ecab8d913/sonar-tsql-plugin.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$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
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/root/.sonar/cache/a89f1943fc75b65becd9fb4ecab8d913/sonar-tsql-plugin.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$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

I have the same WARNING after updating the JAVA_HOME variable to target Java 11 as a fix for a previous WARNING in Azure Devops windows-2019 hosted Agent, seems also that this is not protobuf related and only happens in typescript analysis

We are also scanning a Typescript project and are seeing the same error.
We are not using docker at this time.
I’ve tried using the other version of Java on the azure agent and I either get this error or the other error about Java 11 being deprecated.

##[error]WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/C:/Users/VssAdministrator/.sonar/cache/a89f1943fc75b65becd9fb4ecab8d913/sonar-tsql-plugin.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$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
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by net.sf.cglib.core.ReflectUtils$1 (file:/C:/Users/VssAdministrator/.sonar/cache/a89f1943fc75b65becd9fb4ecab8d913/sonar-tsql-plugin.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$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

The issue should have been fixed by https://jira.sonarsource.com/browse/VSTS-236

Regards,
Margarita