Files
openide/java/java-impl/resources/inspectionDescriptions/NonSerializableWithSerialVersionUIDField.html
2025-02-05 04:43:28 +00:00

14 lines
463 B
HTML

<html>
<body>
Reports non-<code>Serializable</code> classes that define a <code>serialVersionUID</code>
field. A <code>serialVersionUID</code> field in that context normally indicates an error
because the field will be ignored and the class will not be serialized.
<p><b>Example:</b></p>
<pre><code>
public class IWantToSerializeThis {
private static final long serialVersionUID = 2669293150219020249L;
}
</code></pre>
<!-- tooltip end -->
</body>
</html>