diff options
author | LayHool <23442547+layhool@users.noreply.github.com> | 2023-03-16 11:01:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 11:01:40 +0800 |
commit | e4470716576eaa37cc979c4345c7af33ec987aa7 (patch) | |
tree | dc88c3cfaccc51d9b66abe2d6418c64d8daea8ab /src/test/javassist/bytecode/InsertGap0.java | |
parent | 700be6f6f9546e8af049b1a763ce27f1fde5955d (diff) | |
download | javassist-e4470716576eaa37cc979c4345c7af33ec987aa7.tar.gz javassist-e4470716576eaa37cc979c4345c7af33ec987aa7.zip |
Fix issue in no-standard [new] instruction replace
A standard *new* construct bytecode will generate like:
```
new okhttp3/OkHttpClient
dup
invokespecial okhttp3/OkHttpClient <init> ()V
astore 1
```
but a few part of compiler will generate no-standard bytecode like:
```
new okhttp3/OkHttpClient
dup
astore 1
invokespecial okhttp3/OkHttpClient <init> ()V
```
which will cause javassist build stack error.
This commit will fix it
Diffstat (limited to 'src/test/javassist/bytecode/InsertGap0.java')
0 files changed, 0 insertions, 0 deletions