try { } catch (Unknown1| Unknown2 e) { // e.symbolType() is Object, incorrect } catch (Unknown1| IllegalArgumentException e) { // e.symbolType() is Object, incorrect } catch (IOException| IllegalArgumentException e) { // e.symbolType() is Exception, correct }
This typically happens when the project is not configured correctly (probably sonar.java.libraries missing).
This introduces FP in S3457 (only when the semantic is incomplete).
- relates to
-
RSPEC-3457 Printf-style format strings should be used correctly
- Active
- links to