--- a/langtools/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java Thu Mar 03 18:05:52 2011 +0000
+++ b/langtools/src/share/classes/com/sun/tools/javac/jvm/ClassReader.java Fri Mar 04 11:33:37 2011 -0800
@@ -2183,7 +2183,7 @@
}
currentClassFile = classfile;
if (verbose) {
- printVerbose("loading", currentClassFile.toString());
+ log.printVerbose("loading", currentClassFile.toString());
}
if (classfile.getKind() == JavaFileObject.Kind.CLASS) {
filling = true;
@@ -2452,13 +2452,13 @@
for (File file : fm.getLocation(SOURCE_PATH)) {
path = path.prepend(file);
}
- printVerbose("sourcepath", path.reverse().toString());
+ log.printVerbose("sourcepath", path.reverse().toString());
} else if (wantSourceFiles) {
List<File> path = List.nil();
for (File file : fm.getLocation(CLASS_PATH)) {
path = path.prepend(file);
}
- printVerbose("sourcepath", path.reverse().toString());
+ log.printVerbose("sourcepath", path.reverse().toString());
}
if (wantClassFiles) {
List<File> path = List.nil();
@@ -2468,7 +2468,7 @@
for (File file : fm.getLocation(CLASS_PATH)) {
path = path.prepend(file);
}
- printVerbose("classpath", path.reverse().toString());
+ log.printVerbose("classpath", path.reverse().toString());
}
}
}
@@ -2519,14 +2519,6 @@
}
}
- /** Output for "-verbose" option.
- * @param key The key to look up the correct internationalized string.
- * @param arg An argument for substitution into the output string.
- */
- private void printVerbose(String key, CharSequence arg) {
- log.printNoteLines("verbose." + key, arg);
- }
-
/** Output for "-checkclassfile" option.
* @param key The key to look up the correct internationalized string.
* @param arg An argument for substitution into the output string.