1 public class PR12374 {
2 
3   /* We weren't coping with field refs on a string constant...  */
4 
Foo()5   Object Foo()
6   {
7     return "".CASE_INSENSITIVE_ORDER;
8   }
9 
10   /* Special casing access to array.length while analysing syntax is
11      evil.  Especially when it means we can't cope with a type
12      called length.  */
13 
14   class length
15   {
16     static final int i = 2;
17   }
18 
bar()19   int bar()
20   {
21     return length.i;
22   }
23 
main(String[] argv)24   public static void main (String[] argv)
25   {
26   }
27 }
28