title: SonarQube - Rule Fields in a "Serializable" class should either be transient or serializable
body: <p>It might look like duplicate question, but i have posted the code sample suggested by sonar rule Compliant one. When evaluating the below highlighted code with SonarQube it results in squid:S1948 rule violation.</p>
  
  <p><a href="https://i.stack.imgur.com/keLsN.png" rel="noreferrer"><img src="https://i.stack.imgur.com/keLsN.png" alt="enter image description here"></a></p>
  
  <p>Result,</p>
  
  <p><a href="https://i.stack.imgur.com/9H0g4.png" rel="noreferrer"><img src="https://i.stack.imgur.com/9H0g4.png" alt="enter image description here"></a></p>
  
  <p>Still its a mystery that why its showing violation for compliant code, plz clarify. </p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>transient or serializable issue not resolved even with <code>sonar.java.binaries</code></p>
  
  <p>Sonar Scan is success but throws class loader warn:</p>
  
  <p><code>08:26:44.984 INFO  - Java bytecode scan...
  08:26:44.992 WARN  - Class 'dummyserial/Address' is not accessible through the C
  lassLoader.
  08:26:44.993 WARN  - Class 'dummyserial/Person' is not accessible through the Cl
  assLoader.
  08:26:44.993 WARN  - Class 'dummyserial/Address' is not accessible through the C
  lassLoader.
  08:26:44.994 WARN  - Class 'dummyserial/Person' is not accessible through the Cl
  assLoader.
  08:26:44.994 WARN  - Class 'dummyserial/Address' is not accessible through the C
  lassLoader.
  08:26:44.997 WARN  - Class 'dummyserial/Person' is not accessible through the Cl
  assLoader.
  08:26:44.998 INFO  - Java bytecode scan done: 14 ms</code></p>