Skip to content

Commit

Permalink
Fix commentary mistake.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Boerman committed Mar 23, 2024
1 parent cb62fd3 commit 6b42cbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ private static <ScalaPluginClassLoader extends ClassLoader & IScalaPluginClassLo
for (int k = 1; k <= N; k++) {
// just call iterator.next() unsafely because we know how many elements there are!

// java.util.Object elementK = iterator.next();
// java.util.Object elementK = RuntimeConversions.deserialize(iterator.next());
methodVisitor.visitVarInsn(ALOAD, iteratorIndex); operandStack.push(Type.getType(java.util.Iterator.class));
methodVisitor.visitMethodInsn(INVOKEINTERFACE, "java/util/Iterator", "next", "()Ljava/lang/Object;", true); operandStack.replaceTop(Type.getType(Object.class));
genParameterType(methodVisitor, elementType, operandStack);
Expand Down

0 comments on commit 6b42cbd

Please sign in to comment.