RFR 8009517: Disable fatal compiler warning in the old build (original) (raw)
Chris Hegarty chris.hegarty at oracle.com
Fri Mar 8 15:58:14 UTC 2013
- Previous message: RFR 8009517: Disable fatal compiler warning in the old build
- Next message: RFR 8009517: Disable fatal compiler warning in the old build
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 08/03/2013 15:49, Mike Duigou wrote:
Looks fine to me.
Thanks Mike.
Do we have an issue open for restoring warnings to the new build?
Not yet, that I am aware of. We really need the ability to set lint options per package/subpackage.
-Chris.
Mike On Mar 8 2013, at 05:24 , Chris Hegarty wrote:
Since the new build does not enable -Werror when compiling any java code, and disables quite a few lint options, new changes my inadvertently introduce warnings without even realizing. This can cause problems when building with the old build as many areas do compile with -Werror set. Since the old build is on life support, probably best to just completely disable -Werror, so anyone still needing to use it can.
diff -r 48b7295f02f8 make/common/shared/Defs-java.gmk --- a/make/common/shared/Defs-java.gmk Thu Mar 07 10:07:13 2013 +0000 +++ b/make/common/shared/Defs-java.gmk Thu Mar 07 11:10:37 2013 +0000 @@ -122,9 +122,10 @@ ifeq ($(JAVACMAXWARNINGS), true) ifeq ($(JAVACMAXWARNINGS), true) JAVACLINTOPTIONS += -Xlint:all endif -ifeq ($(JAVACWARNINGSFATAL), true) - JAVACFLAGS += -Werror -endif +# Disable fatal warnings, 8009517 +#ifeq ($(JAVACWARNINGSFATAL), true) +# JAVACFLAGS += -Werror +#endif # TODO: Workaround for CR 7063027. Remove -path eventually. JAVACLINTOPTIONS += -Xlint:-path -Chris.
- Previous message: RFR 8009517: Disable fatal compiler warning in the old build
- Next message: RFR 8009517: Disable fatal compiler warning in the old build
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]