DeprecatedYES.java:18:10: compiler.warn.has.been.deprecated: foo(), A - compiler.err.warnings.and.werror 1 error 1 warning