From 089cbc7d0c3a56de51a4e0b487bfce947ff88ad5 Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Fri, 18 Oct 2013 14:53:26 +0200 Subject: pull request feedback https://github.com/scala/scala/pull/3029 --- src/reflect/scala/reflect/runtime/JavaUniverse.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/reflect') diff --git a/src/reflect/scala/reflect/runtime/JavaUniverse.scala b/src/reflect/scala/reflect/runtime/JavaUniverse.scala index ca2b860d08..a6cf3a536f 100644 --- a/src/reflect/scala/reflect/runtime/JavaUniverse.scala +++ b/src/reflect/scala/reflect/runtime/JavaUniverse.scala @@ -41,7 +41,8 @@ class JavaUniverse extends internal.SymbolTable with JavaUniverseForce with Refl // // Main challenges that runtime reflection presents wrt initialization are: // 1) Extravagant completion scheme that enters package members on-demand rather than a result of scanning a directory with class files. - // (That's a direct consequence of the fact that in general case we can't enumerate all classes in a classloader). + // (That's a direct consequence of the fact that in general case we can't enumerate all classes in a classloader. + // As Paul rightfully mentioned, we could specialcase classloaders that point to filesystems, but that is left for future work). // 2) Presence of synthetic symbols that aren't loaded by normal means (from classfiles) but are synthesized on-the-fly, // and the necessity to propagate these synthetic symbols from rootMirror to other mirrors, // complicated by the fact that such symbols depend on normal symbols (e.g. AnyRef depends on Object). -- cgit v1.2.3