Sourcepath not searched for interface files
Brought to you by:
mecki
NoClassDefFound errors are thrown when compiling (only
Ant compiling tested) when an interface is required and
hasn't been compiled yet.
A.java:
class A implements B {
}
B.java:
interface B {
}
In my environment, A & B are both in the same package,
but not the same file.
Logged In: YES
user_id=865893
You must have tested this on a pre-1.4 JDK.
On pre-1.4 JDKs, "URLConnection.getLastModified()" returns
zero for file URLs. This was interpreted as "file does not
exist".
Implemented a workaround.
Fixed in 1.0.15.