Skip to content
Snippets Groups Projects
user avatar
Michael Armbrust authored
Previously, we were using the mirror of passed in `TypeTag` when reflecting to build an encoder.  This fails when the outer class is built in (i.e. `Seq`'s default mirror is based on root classloader) but inner classes (i.e. `A` in `Seq[A]`) are defined in the REPL or a library.

This patch changes us to always reflect based on a mirror created using the context classloader.

Author: Michael Armbrust <michael@databricks.com>

Closes #17201 from marmbrus/replSeqEncoder.
314e48a3
History
Name Last commit Last update
..
scala-2.10/src
scala-2.11/src
src
pom.xml