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

10 lines
440 B
HTML

<html>
<body>
Reports <code>Externalizable</code> classes without a public no-argument constructor.
<p>When an <code>Externalizable</code> object is reconstructed, an instance is created using the public
no-arg constructor before the <code>readExternal</code> method called. If a public
no-arg constructor is not available, a <code>java.io.InvalidClassException</code> will be
thrown at runtime.
<!-- tooltip end -->
</body>
</html>