Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

54kb source file throw 'java.lang.VerifyError' exception at JSONObject.toJavaObject. #1207

@about-bob

Description

@about-bob

We have use "fastjson" for years, it is wonderful, thanks~

In recent days, we meet a VerifyError at JSONObject.toJavaObject, while Gson.fromJSON without the exception.

Handler dispatch failed; nested exception is java.lang.VerifyError: (class: Fastjson_ASM_User_10, method: deserialze signature: (Lcom/alibaba/fastjson/parser/DefaultJSONParser;Ljava/lang/reflect/Type;Ljava/lang/Object;)Ljava/lang/Object;) Illegal target of jump or branch

The point is that our java source file User.java achieved 54kb, anyone can confirm if "fastjson" can handle this case?

version of fastjson:

     <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>fastjson</artifactId>
            <version>1.2.31</version>
        </dependency>

Thanks in advance~

54kb
fastjson error
gson isok

user class
stringdata

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions