sudo vi /usr/lib/gtk-2.0/2.10.0/immodule-files.d/gcin.immodules
"gcin" "gcin Input Method" "gcin" "/usr/share/locale" "" <- 最後面本來是 "*" 把*拿掉
Tuesday, August 17, 2010
Wednesday, August 11, 2010
Tuesday, August 10, 2010
illegal forware reference in java
case 1: 比較常見的
class Test {
String s = "hello";
class inner {
inner () {
String s = s; // <- illegal forward reference
}
}
}
case 2: 比較特別的 即使sStr是static也會
class Test2 {
static {
System.out.println(sStr); // <- illegal forward reference
}
private static String sStr = "hello World";
}
class Test {
String s = "hello";
class inner {
inner () {
String s = s; // <- illegal forward reference
}
}
}
case 2: 比較特別的 即使sStr是static也會
class Test2 {
static {
System.out.println(sStr); // <- illegal forward reference
}
private static String sStr = "hello World";
}
Subscribe to:
Posts (Atom)