< prev index next >

src/java.base/share/classes/java/lang/AssertionError.java

Print this page

        

@@ -39,10 +39,11 @@
  * regardless of the type of <i>expression</i>.
  *
  * @since   1.4
  */
 public class AssertionError extends Error {
+    @java.io.Serial
     private static final long serialVersionUID = -5013299493970297370L;
 
     /**
      * Constructs an AssertionError with no detail message.
      */
< prev index next >