From abdf98fef80021fa03c5a14fa855d6e794215504 Mon Sep 17 00:00:00 2001 From: Alexandre Boulgakov Date: Fri, 29 Jul 2011 16:45:37 -0700 Subject: [PATCH] 7072523: java.math should be built with javac -Xlint:all -Werror Reviewed-by: darcy --- jdk/make/java/math/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jdk/make/java/math/Makefile b/jdk/make/java/math/Makefile index cbadcca615e..df07e06f8d2 100644 --- a/jdk/make/java/math/Makefile +++ b/jdk/make/java/math/Makefile @@ -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 @@ BUILDDIR = ../.. PACKAGE = java.math PRODUCT = sun +JAVAC_MAX_WARNINGS = true +JAVAC_WARNINGS_FATAL = true include $(BUILDDIR)/common/Defs.gmk #