8.2 to 8.4 Dev Edition - illegal reflective access operation has occurred

sonar/dev edition - upgraded from 8.2 to 8.4 and though it came up (ned to check it out/test it), inspected the logs and below one draw attention. Pls let us know how/what logs you need and we will gladly provide them. Cheers

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.thoughtworks.xstream.core.util.Fields (file:/opt/sonarqube/data/web/deploy/plugins/findbugs/META-INF/lib/xstream-1.4.11.1.jar) to field java.lang.reflect.Proxy.h
WARNING: Please consider reporting this to the maintainers of com.thoughtworks.xstream.core.util.Fields
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

Hello Pedro,

This is only a Warning message that you can safely ignore.
This is coming from a third-party jar whose maintainers are already aware of the message
The path also suggests that the xstream-1.4.11.1.jar is actually a dependency for your Findbugs plugin.
Therefore uninstalling the Findbugs plugin would be a workaround solution to get rid of the Warning message

Regards,

Eric

Hi Eric

Thank you so much! Appreciated.
We also noticed a considerable increase in compute resource utilization. What used to work fairly well for us in 8.2-DevEdition, no longer worked on 8.4-DevEdition.
Used to work 8.2: request 1Gi / Limit: 2Gi (we had considerable number of restarts)
Required in 8.4: request 2Gi / Limit: 3Gi (not single restart)

nothing changed on our side other than upgrade itself. did not see any documentation stating that potential compute resource footprint would be impacted (more allocation). are we alone or this is known?

Thanks /Pedro