7072523: java.math should be built with javac -Xlint:all -Werror
Reviewed-by: darcy
Contributed-by: alexandre.boulgakov@oracle.com
--- a/jdk/make/java/math/Makefile Fri Jul 29 02:50:58 2011 -0700
+++ b/jdk/make/java/math/Makefile Fri Jul 29 16:45:37 2011 -0700
@@ -1,5 +1,5 @@
#
-# Copyright (c) 1996, 2003, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1996, 2011, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -27,6 +27,8 @@
PACKAGE = java.math
PRODUCT = sun
+JAVAC_MAX_WARNINGS = true
+JAVAC_WARNINGS_FATAL = true
include $(BUILDDIR)/common/Defs.gmk
#