J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 1 | /* |
Sonali Goel | 274f997 | 2015-01-08 22:01:20 -0800 | [diff] [blame] | 2 | * @test /nodynamiccopyright/ |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 3 | * @bug 4854628 |
| 4 | * @summary include Throwable subclasses in missing serialVersionUID warning |
| 5 | * @author gafter |
| 6 | * |
| 7 | * @compile -Werror SerialWarn.java |
Sonali Goel | 274f997 | 2015-01-08 22:01:20 -0800 | [diff] [blame] | 8 | * @compile/fail/ref=SerialWarn.out -XDrawDiagnostics -Xlint:serial -Werror SerialWarn.java |
J. Duke | f57b87e | 2007-12-01 00:00:00 +0000 | [diff] [blame] | 9 | */ |
| 10 | |
| 11 | class SerialWarn extends Throwable {} |