Browse files

Log when invokedynamic instruction is encountered

Based on the review of #2257, this
commit adds a debuglog when an invokedynamic instruction is found
during class file parsing as a reminder that the implementation is
just a place holder.
  • Loading branch information...
1 parent e78896f commit b7cbda78e8e280ac1354a017890cdfd8a9b77290 James Iry committed Mar 25, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/compiler/scala/tools/nsc/symtab/classfile/ICodeReader.scala
@@ -508,6 +508,7 @@ abstract class ICodeReader extends ClassfileParser {
code.emit(CALL_METHOD(m, Static(false)))
case JVM.invokedynamic =>
// TODO, this is just a place holder. A real implementation must parse the class constant entry
+ debuglog("Found JVM invokedynamic instructionm, inserting place holder ICode INVOKE_DYNAMIC.")
containsInvokeDynamic = true
val poolEntry = in.nextChar

0 comments on commit b7cbda7

Please sign in to comment.