Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2005, 2010 IBM Corporation and others. |
2 |
* Copyright (c) 2005, 2011 IBM Corporation and others. |
3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
4 |
* are made available under the terms of the Eclipse Public License v1.0 |
5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
Lines 1221-1227
Link Here
|
1221 |
"1. ERROR in p\\X.java (at line 4)\n" + |
1221 |
"1. ERROR in p\\X.java (at line 4)\n" + |
1222 |
" public static String s;\n" + |
1222 |
" public static String s;\n" + |
1223 |
" ^\n" + |
1223 |
" ^\n" + |
1224 |
"The field s cannot be declared static; static fields can only be declared in static or top level types\n" + |
1224 |
"The field s cannot be declared static in a non-static inner type, unless initialized with a constant expression\n" + |
1225 |
"----------\n" + |
1225 |
"----------\n" + |
1226 |
"2. ERROR in p\\X.java (at line 6)\n" + |
1226 |
"2. ERROR in p\\X.java (at line 6)\n" + |
1227 |
" X.XX.s = s; }\n" + |
1227 |
" X.XX.s = s; }\n" + |