Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
3.4.1
-
None
-
None
-
None
-
java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
Description
HashMap<String, Object> props = new HashMap<>(); props.put("name", "D"); DetachedVertex v = new DetachedVertex("fake", "entity", props);
returns
Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List at org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex.lambda$new$2(DetachedVertex.java:82) at java.util.Iterator.forEachRemaining(Iterator.java:116) at org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex.<init>(DetachedVertex.java:81)
which is directly related to the public constructor.