jdk-24/test/langtools/tools/javac/serial/SerialWarn.java
2017-09-12 19:03:39 +02: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 {}