test/tools/javac/diags/examples/KindnameVariable.java

changeset 829
ce6175cfe11e
parent 610
3640b60bd0f6
child 929
e2890b8369f7
equal deleted inserted replaced
828:19c900c703c6 829:ce6175cfe11e
1 /* 1 /*
2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2010, 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.
22 */ 22 */
23 23
24 // key: compiler.misc.kindname.variable 24 // key: compiler.misc.kindname.variable
25 // key: compiler.misc.kindname.class 25 // key: compiler.misc.kindname.class
26 // key: compiler.err.cant.resolve.location 26 // key: compiler.err.cant.resolve.location
27 // key: compiler.misc.location
27 // key: compiler.misc.count.error 28 // key: compiler.misc.count.error
28 // run: backdoor 29 // run: backdoor
29 30
30 class KindnameVariable { 31 class KindnameVariable {
31 Object o = not_found; 32 Object o = not_found;

mercurial