< prev index next >

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

Print this page

        

@@ -228,10 +228,11 @@
      * zero-element list, the field is reset to the sentinel value.
      *
      * @serial
      * @since 1.7
      */
+    @SuppressWarnings("serial") // Not statically typed as Serializable
     private List<Throwable> suppressedExceptions = SUPPRESSED_SENTINEL;
 
     /** Message for trying to suppress a null exception. */
     private static final String NULL_CAUSE_MESSAGE = "Cannot suppress a null exception.";
 
< prev index next >