jdk-24/langtools/test/tools/javac/SerialWarn.java
2015-01-08 22:01:20 -08:00

12 lines
337 B
Java

/*
* @test /nodynamiccopyright/
* @bug 4854628
* @summary include Throwable subclasses in missing serialVersionUID warning
* @author gafter
*
* @compile -Werror SerialWarn.java
* @compile/fail/ref=SerialWarn.out -XDrawDiagnostics -Xlint:serial -Werror SerialWarn.java
*/
class SerialWarn extends Throwable {}