summaryrefslogtreecommitdiff
path: root/src/reflect
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2013-10-18 14:53:26 +0200
committerEugene Burmako <xeno.by@gmail.com>2013-10-18 18:02:18 +0200
commit089cbc7d0c3a56de51a4e0b487bfce947ff88ad5 (patch)
tree32a13ed4b0c6902fbd733ddbebf415e550d6e06b /src/reflect
parent6597eeba22891e540d88ad20ff011af5bcd99f96 (diff)
downloadscala-089cbc7d0c3a56de51a4e0b487bfce947ff88ad5.tar.gz
scala-089cbc7d0c3a56de51a4e0b487bfce947ff88ad5.tar.bz2
scala-089cbc7d0c3a56de51a4e0b487bfce947ff88ad5.zip
pull request feedback
https://github.com/scala/scala/pull/3029
Diffstat (limited to 'src/reflect')
-rw-r--r--src/reflect/scala/reflect/runtime/JavaUniverse.scala3
1 files changed, 2 insertions, 1 deletions
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).