When a previous compiler run was partially successful
(i.e. some, but not all source files were compiled),
then a consecutive compiler run fails with a
NoClassFoundError.
The problem occurs if an already-compiled class references a
not yet compiled class. This was done through the
ClassLoader, which looks at the class path, but not at the
source/output directory.
The ClassFile class was extended such that it can also READ
class files; "ClassFileIClass.resolveAll()" then resolves
all referenced types through the IClassLoader (as opposed to
the ClassLoader).
Fixed in 1.0.15.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=865893
The problem occurs if an already-compiled class references a
not yet compiled class. This was done through the
ClassLoader, which looks at the class path, but not at the
source/output directory.
The ClassFile class was extended such that it can also READ
class files; "ClassFileIClass.resolveAll()" then resolves
all referenced types through the IClassLoader (as opposed to
the ClassLoader).
Fixed in 1.0.15.