diff -r 8fb48a9ac9ec -r 7798e3a5ecf5 src/share/classes/com/sun/tools/javac/util/Log.java --- a/src/share/classes/com/sun/tools/javac/util/Log.java Thu Mar 03 18:05:52 2011 +0000 +++ b/src/share/classes/com/sun/tools/javac/util/Log.java Fri Mar 04 11:33:37 2011 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2011, 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 @@ -329,7 +329,6 @@ printLines(errWriter, localize(key, args)); } - /** Print the text of a message to the noticeWriter stream, * translating newlines appropriately for the platform. */ @@ -337,6 +336,14 @@ printLines(noticeWriter, localize(key, args)); } + /** + * Print the localized text of a "verbose" message to the + * noticeWriter stream. + */ + public void printVerbose(String key, Object... args) { + printLines(noticeWriter, localize("verbose." + key, args)); + } + protected void directError(String key, Object... args) { printErrLines(key, args); errWriter.flush();