changeset 5002 | 12a9e8562200 |
parent 4867 | 7f4efc9b2f9f |
child 5320 | e2aaa958b02d |
--- a/langtools/src/share/classes/com/sun/tools/javac/comp/Check.java Tue Feb 23 18:43:02 2010 -0800 +++ b/langtools/src/share/classes/com/sun/tools/javac/comp/Check.java Thu Feb 25 09:42:35 2010 -0800 @@ -189,6 +189,11 @@ sunApiHandler.report(pos, msg, args); } + public void warnStatic(DiagnosticPosition pos, String msg, Object... args) { + if (lint.isEnabled(LintCategory.STATIC)) + log.warning(pos, msg, args); + } + /** * Report any deferred diagnostics. */