SonarQube version 7.9.1
Java 1.8
SonarJava: 5.13.1 (build 18282)
When trying to remove an array of primitive type eg: bool[ ] ,byte[ ], int [ ] … from a collection of type array of primitive type eg : List<byte[ ]> ,I get " A “List<byte[ ]>” cannot contain a “byte[ ]” ".
I believe this is a false positive (It doesn’t occurs with objects eg: Byte[ ]).
I tried the code against the current master of SonarJava (6.0), and this issue is not reported anymore.
We spend quite some time on SonarJava these past months (front-end migration, hardening, …), I gladly think this is a positive side effect of these efforts!
What I can say is that it’s a big step and we are reaching the end, but we don’t want to rush these last important stages.
You can be sure that we are looking forward to see it in production aswell!