langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java
--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java Tue Oct 07 21:15:10 2014 +0200
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/main/JavaCompiler.java Tue Oct 07 21:21:42 2014 +0200
@@ -1228,12 +1228,6 @@
attr.postAttr(env.tree);
}
compileStates.put(env, CompileState.ATTR);
- if (rootClasses != null && rootClasses.contains(env.enclClass)) {
- // This was a class that was explicitly supplied for compilation.
- // If we want to capture the public api of this class,
- // then now is a good time to do it.
- reportPublicApi(env.enclClass.sym);
- }
}
finally {
log.useSource(prev);
@@ -1242,14 +1236,6 @@
return env;
}
- /** Report the public api of a class that was supplied explicitly for compilation,
- * for example on the command line to javac.
- * @param sym The symbol of the class.
- */
- public void reportPublicApi(ClassSymbol sym) {
- // Override to collect the reported public api.
- }
-
/**
* Perform dataflow checks on attributed parse trees.
* These include checks for definite assignment and unreachable statements.