Skip to content

Commit 20d2fd4

Browse files
authored
Replace reflection package with reflections8 (#162)
Apparently I'm able to invoke our codepropertygraph's console via a path that triggers ronmamo/reflections#273. This is very unfortunate and due to the way the artifact is being published I'm unable to downgrade directly in the project I use. Sadly this dependency is propagated very far down the chain and it impossible to untangle it. The fix is in `0.9.13-SNAPSHOT` (not yet released) so suggesting to downgrade until it is officially out. Note: I was going to just downgrade to `0.9.11` but looks like that version is pretty ancient. Instead I followed the same suggestion as in JanusGraph/janusgraph#2029 and replaced `reflections` with `reflections8` until `0.9.13` is released.
1 parent bd2c318 commit 20d2fd4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

traversal/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name := "overflowdb-traversal"
22

33
libraryDependencies ++= Seq(
44
"org.scala-lang" % "scala-compiler" % scalaVersion.value,
5-
"org.reflections" % "reflections" % "0.9.12",
5+
"net.oneandone.reflections8" % "reflections8" % "0.11.7", // go back to reflections once 0.9.13 is released
66
"com.massisframework" % "j-text-utils" % "0.3.4",
77
"org.scalatest" %% "scalatest" % "3.0.8" % Test,
88
"org.slf4j" % "slf4j-simple" % "1.7.28" % Test,

traversal/src/main/scala/overflowdb/traversal/help/TraversalHelp.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import overflowdb.traversal.{ElementTraversal, NodeTraversal, Traversal, help}
44
import overflowdb.{NodeRef, NodeDb}
55
import java.lang.annotation.{Annotation => JAnnotation}
66

7-
import org.reflections.Reflections
7+
import org.reflections8.Reflections
88

99
import scala.annotation.tailrec
1010
import scala.reflect.runtime.universe.runtimeMirror

0 commit comments

Comments
 (0)