Mercurial > hg > jdk9-shenandoah
changeset 1292:f1dc16345985
8067099: Add deprecation lint warning to build of jdk repository
Reviewed-by: erikj
author | darcy |
---|---|
date | Thu, 15 Jan 2015 14:51:05 -0800 |
parents | da879ffb91cc |
children | f18f3a2c038d 243f16c4fae2 |
files | make/common/SetupJavaCompilers.gmk |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/make/common/SetupJavaCompilers.gmk Thu Jan 15 15:43:28 2015 +0100 +++ b/make/common/SetupJavaCompilers.gmk Thu Jan 15 14:51:05 2015 -0800 @@ -1,5 +1,5 @@ # -# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2011, 2015, 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 @@ -30,9 +30,9 @@ DISABLE_WARNINGS := -Xlint:all,-deprecation,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough,-try,-varargs,-empty,-finally -# To build with all warnings enabled, do the following: +# If warnings needs to be non-fatal for testing purposes use a command like: # make JAVAC_WARNINGS="-Xlint:all -Xmaxwarns 10000" -JAVAC_WARNINGS := -Xlint:all,-deprecation -Werror +JAVAC_WARNINGS := -Xlint:all -Werror # The BOOT_JAVAC setup uses the boot jdk compiler to compile the tools # and the interim javac, to be run by the boot jdk.