From 92cea6ce44e01b308a3e2cc8df505406e82e954c Mon Sep 17 00:00:00 2001 From: Jonathan Gibbons Date: Thu, 5 Jun 2008 13:46:26 -0700 Subject: [PATCH] 6711276: langtools has incorrect -Werror switch Reviewed-by: ksrini --- langtools/make/build.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/langtools/make/build.properties b/langtools/make/build.properties index 9a76ff061e5..38fd0f4705d 100644 --- a/langtools/make/build.properties +++ b/langtools/make/build.properties @@ -1,5 +1,5 @@ # -# Copyright 2007 Sun Microsystems, Inc. All Rights Reserved. +# Copyright 2007-2008 Sun Microsystems, Inc. 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 @@ -66,7 +66,7 @@ javac.no.jdk.warnings = -XDignore.symbol.file=true # set the following to -version to verify the versions of javac being used javac.version.opt = # in time, there should be no exceptions to -Xlint:all -javac.lint.opts = -Xlint:all,-deprecation,-fallthrough,-serial -Werror +javac.lint.opts = -Xlint:all,-deprecation,-fallthrough,-serial,-unchecked,-cast # options for the task for javac javadoc.jls3.url=http://java.sun.com/docs/books/jls/