Menu

#37 net.Janino.Compiler throws NoClassFoundError

closed-fixed
5
2004-01-17
2004-01-12
Arno Unkrig
No

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.

Discussion

  • Arno Unkrig

    Arno Unkrig - 2004-01-17
    • status: open --> closed-fixed
     
  • Arno Unkrig

    Arno Unkrig - 2004-01-17

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB