6711276: langtools has incorrect -Werror switch
authorjjg
Thu, 05 Jun 2008 13:46:26 -0700
changeset 728 1c050d9b10c6
parent 727 cb50c1ae7bab
child 729 075c509f6a13
6711276: langtools has incorrect -Werror switch Reviewed-by: ksrini
langtools/make/build.properties
--- a/langtools/make/build.properties	Tue Jun 03 13:26:47 2008 -0700
+++ b/langtools/make/build.properties	Thu Jun 05 13:46:26 2008 -0700
@@ -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 @@
 # 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 <javadoc> task for javac
 javadoc.jls3.url=http://java.sun.com/docs/books/jls/