Lines 1-5
Link Here
|
1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
2 |
* Copyright (c) 2000, 2010 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 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 2524-2530
Link Here
|
2524 |
"1. ERROR in X.java (at line 3)\n" + |
2524 |
"1. ERROR in X.java (at line 3)\n" + |
2525 |
" enum E {}\n" + |
2525 |
" enum E {}\n" + |
2526 |
" ^\n" + |
2526 |
" ^\n" + |
2527 |
"The member enum E cannot be local\n" + |
2527 |
"The member enum E can only be defined inside a top-level class or interface\n" + |
2528 |
"----------\n"); |
2528 |
"----------\n"); |
2529 |
} |
2529 |
} |
2530 |
|
2530 |
|
Lines 2570-2576
Link Here
|
2570 |
"1. ERROR in X.java (at line 4)\n" + |
2570 |
"1. ERROR in X.java (at line 4)\n" + |
2571 |
" enum E {}\n" + |
2571 |
" enum E {}\n" + |
2572 |
" ^\n" + |
2572 |
" ^\n" + |
2573 |
"The member enum E cannot be local\n" + |
2573 |
"The member enum E can only be defined inside a top-level class or interface\n" + |
2574 |
"----------\n"); |
2574 |
"----------\n"); |
2575 |
} |
2575 |
} |
2576 |
|
2576 |
|