Skip to content

保存null值到缓存,get的时候报错 2.3.5-release #6

@jkin3305

Description

@jkin3305

Exception in thread "main" java.lang.ClassCastException: java.lang.Object cannot be cast to java.io.Serializable

代码:
public static void main(String[] args) { CacheChannel channel = J2Cache.getChannel(); channel.set("region","key",null,true); System.out.println(channel.get("region","key")); }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions