1 // gcj generated buggy code when we reference a field of a 2 // non-constant member that we inherit from an interface. 3 4 interface iface 5 { 6 final value x = new value(); 7 } 8 9 final class value 10 { 11 Object field = "maude"; 12 } 13 14 public class initfield implements iface 15 { main(String[] args)16 public static void main(String[] args) 17 { 18 System.out.println(x.field); 19 } 20 } 21