changeset 12079:e1739a771470

7148622: Some diagnostic methods do not go through Log.report Summary: Deferred lint diagnostics ignore Log settings such as deferred diagnostics Reviewed-by: jjg
author mcimadamore
date Tue, 06 Mar 2012 13:26:36 +0000
parents 7470e05d486b
children 23101f54df44
files langtools/src/share/classes/com/sun/tools/javac/comp/Check.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
                 }
             });
         }