The 1.3 compiler accepts the following program:
interface InterfaceBug {
int i = 10, j, k;
}
Old javac rightly rejects this, since j and k have not been initialized.
Note that you cannot get 1.3 to accept:
interface InterfaceBug {
int i, j, k;
}
gilad.bracha@eng 1999-10-20
interface InterfaceBug {
int i = 10, j, k;
}
Old javac rightly rejects this, since j and k have not been initialized.
Note that you cannot get 1.3 to accept:
interface InterfaceBug {
int i, j, k;
}
gilad.bracha@eng 1999-10-20