7072523: java.math should be built with javac -Xlint:all -Werror
authorjjg
Fri, 29 Jul 2011 16:45:37 -0700
changeset 10139 49e1c342c329
parent 10138 b7572da25d15
child 10140 8ce74ce0de83
7072523: java.math should be built with javac -Xlint:all -Werror Reviewed-by: darcy Contributed-by: alexandre.boulgakov@oracle.com
jdk/make/java/math/Makefile
--- 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
 
 #