Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

fixes the craziness in JavaUniverse.log

This long-standing, but trivial to fix nuisance in the implementation of
runtime reflection actively avoided being fixed in both 2.10.0 and 2.10.1.

It's finally the time to put it to a rest.
  • Loading branch information...
1 parent bbd69f5 commit fc46281f9638ac8c44890b0cfca3aed4096b6197 @xeno-by xeno-by committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/reflect/scala/reflect/runtime/JavaUniverse.scala
2  src/reflect/scala/reflect/runtime/JavaUniverse.scala
@@ -17,7 +17,7 @@ class JavaUniverse extends internal.SymbolTable with ReflectSetup with runtime.S
def forInteractive = false
def forScaladoc = false
- def log(msg: => AnyRef): Unit = println(" [] "+msg)
+ def log(msg: => AnyRef): Unit = if (settings.debug.value) println(" [] "+msg)
type TreeCopier = InternalTreeCopierOps
def newStrictTreeCopier: TreeCopier = new StrictTreeCopier

0 comments on commit fc46281

Please sign in to comment.
Something went wrong with that request. Please try again.