Ok. Here it goes:
file #1:
public class Data {
public Data(
String dbname) throws IOException {
...
}
...
}
file #2:
public class DataClient {
private Data data;
public DataClient(String dbName) {
data = new Data(dbName);
...
}
...
public void close() throws RemoteException {
data.close();
}
}
---------------------------------------
The above code does not compile with jdk1.4 because Data constructor throws IOException,
but DataClient's constructor doesn't.
However, when I use JBuilder, it does!
The weird thing is that if I copy the first line on DataClient's constructor to the method close() of the DataClient class the code does not compile.
Leonardo Penha<br />SCJP, SCJD, SCWCD, SCEA, SCMAD, SCDJWS