diff -r 49281ea88125 -r 9d541fd2916b src/share/classes/com/sun/tools/javac/main/RecognizedOptions.java --- a/src/share/classes/com/sun/tools/javac/main/RecognizedOptions.java Fri Jan 30 23:28:38 2009 -0800 +++ b/src/share/classes/com/sun/tools/javac/main/RecognizedOptions.java Fri Feb 06 10:23:57 2009 -0800 @@ -449,7 +449,7 @@ }, // treat warnings as errors - new HiddenOption(WERROR), + new Option(WERROR, "opt.Werror"), // use complex inference from context in the position of a method call argument new HiddenOption(COMPLEXINFERENCE),