Fix issue in no-standard [new] instruction replace by catsalty · Pull Request #448 · jboss-javassist/javassist (original) (raw)
A standard new construct bytecode will generate like:
new okhttp3/OkHttpClient
dup
invokespecial okhttp3/OkHttpClient <init> ()V
astore 1but a few part of compiler will generate no-standard bytecode like:
new okhttp3/OkHttpClient
dup
astore 1
invokespecial okhttp3/OkHttpClient <init> ()Vwhich will cause javassist build stack error.
This commit will fix it
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})