8175219: javadoc should exit when it encounters compilation errors

Reviewed-by: jjg, bpatel
18 files changed