Skip to content

Commit

Permalink
fixdes Issue #282
Browse files Browse the repository at this point in the history
  • Loading branch information
chibash committed Dec 23, 2019
1 parent 5a796e1 commit 559bc90
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Readme.html
Expand Up @@ -283,7 +283,7 @@ <h2>Changes</h2>

<p>-version 3.27
<ul>
<li>GitHub Issue #271 (PR #279).
<li>GitHub Issue #271 (PR #279), #280 (PR #281), and #282.
</ul>

<p>-version 3.26 on October 3, 2019
Expand Down
Binary file modified javassist.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion src/main/javassist/bytecode/ConstPool.java
Expand Up @@ -110,8 +110,10 @@ public final class ConstPool
public static final int CONST_Dynamic = DynamicInfo.tag;

/**
* <code>CONSTANT_InvokeDynamic</code>
* <code>CONSTANT_DynamicCallSite</code>,
* also known as <code>CONSTANT_InvokeDynamic</code>
*/
public static final int CONST_DynamicCallSite = InvokeDynamicInfo.tag;
public static final int CONST_InvokeDynamic = InvokeDynamicInfo.tag;

/**
Expand Down
4 changes: 4 additions & 0 deletions src/main/javassist/bytecode/stackmap/Tracer.java
Expand Up @@ -263,6 +263,10 @@ else if (tag == ConstPool.CONST_Double) {
}
else if (tag == ConstPool.CONST_Class)
stackTypes[stackTop++] = new TypeData.ClassName("java.lang.Class");
else if (tag == ConstPool.CONST_Dynamic) {
String desc = cpool.getDynamicType(index);
pushMemberType(desc);
}
else
throw new RuntimeException("bad LDC: " + tag);
}
Expand Down

0 comments on commit 559bc90

Please sign in to comment.