Comment 0 for bug 696847

Revision history for this message
Jesper Öqvist (jesper-oqvist) wrote :

lookupType can cause the JastAddJ compiler to crash without a sufficient error message if a certain type is missing.

For example if java.lang.Iterable is missing and the JastAddJ is compiling an enhanced for statement, it checks if the type of the argument is an iterable type. A direct lookup on java.lang.Iterable is made, and if java.lang.Iterable is missing then JastAddJ will crash with a null pointer exception.