Skip to content

Commit

Permalink
Log when invokedynamic instruction is encountered
Browse files Browse the repository at this point in the history
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
James Iry committed Mar 25, 2013
1 parent e78896f commit b7cbda7
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -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
in.skip(2)
Expand Down

0 comments on commit b7cbda7

Please sign in to comment.