7148622: Some diagnostic methods do not go through Log.report
authormcimadamore
Tue, 06 Mar 2012 13:26:36 +0000
changeset 12079 e1739a771470
parent 12078 7470e05d486b
child 12080 23101f54df44
7148622: Some diagnostic methods do not go through Log.report Summary: Deferred lint diagnostics ignore Log settings such as deferred diagnostics Reviewed-by: jjg
langtools/src/share/classes/com/sun/tools/javac/comp/Check.java
--- a/langtools/src/share/classes/com/sun/tools/javac/comp/Check.java	Fri Mar 02 12:58:35 2012 +0000
+++ b/langtools/src/share/classes/com/sun/tools/javac/comp/Check.java	Tue Mar 06 13:26:36 2012 +0000
@@ -2488,7 +2488,7 @@
                     if (enableSunApiLintControl)
                       warnSunApi(pos, "sun.proprietary", s);
                     else
-                      log.strictWarning(pos, "sun.proprietary", s);
+                      log.mandatoryWarning(pos, "sun.proprietary", s);
                 }
             });
         }