1 /* |
1 /* |
2 * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2009, 2011, 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. |
37 new T4880672().run(); |
37 new T4880672().run(); |
38 } |
38 } |
39 |
39 |
40 void run() { |
40 void run() { |
41 verify("java.util.Map", "public interface java.util.Map$Entry"); |
41 verify("java.util.Map", "public interface java.util.Map$Entry"); |
42 verify("T4880672", "class T4880672$A$B extends java.lang.Object"); |
42 verify("T4880672", "class T4880672$A$B"); |
43 verify("C", ""); // must not give error if no InnerClasses attribute |
43 verify("C", ""); // must not give error if no InnerClasses attribute |
44 if (errors > 0) |
44 if (errors > 0) |
45 throw new Error(errors + " found."); |
45 throw new Error(errors + " found."); |
46 } |
46 } |
47 |
47 |