equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
28 */ |
28 */ |
29 |
29 |
30 import java.io.*; |
30 import java.io.*; |
31 |
31 |
32 interface Foo extends Serializable { |
32 interface Foo extends Serializable { |
|
33 @SuppressWarnings("serial") /* Incorrect declarations are being tested */ |
33 static final long serialVersionUID = 0xCAFE; |
34 static final long serialVersionUID = 0xCAFE; |
34 } |
35 } |
35 |
36 |
36 interface Bar extends Externalizable { |
37 interface Bar extends Externalizable { |
|
38 @SuppressWarnings("serial") /* Incorrect declarations are being tested */ |
37 static final long serialVersionUID = 0xBABE; |
39 static final long serialVersionUID = 0xBABE; |
38 } |
40 } |
39 |
41 |
40 interface Gub { |
42 interface Gub { |
41 } |
43 } |