[BZ-1026311] make incremental compilation to recompiles also modified java classes