File tree Expand file tree Collapse file tree
core/src/main/resources/META-INF/proguard Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424# Keep any (anonymous) classes extending TypeReference
2525-keep, allowobfuscation class com.alibaba.fastjson2.TypeReference
2626-keep, allowobfuscation class * extends com.alibaba.fastjson2.TypeReference
27+
28+ # Don't rename/shrink the following class fields, as they are accessed by internal reflection tool *AtomicReferenceFieldUpdater*
29+ # They should always be described by "volatile" modifier, if not, please report an issue
30+ -keepclassmembers class com.alibaba.fastjson2.JSONFactory$CacheItem {
31+ volatile <fields>;
32+ }
33+ -keepclassmembers class com.alibaba.fastjson2.util.TypeUtils$Cache {
34+ volatile <fields>;
35+ }
36+ -keepclassmembers class com.alibaba.fastjson2.writer.FieldWriter {
37+ volatile com.alibaba.fastjson2.writer.ObjectWriter initObjectWriter;
38+ }
39+ -keepclassmembers class com.alibaba.fastjson2.writer.FieldWriterObject {
40+ volatile java.lang.Class initValueClass;
41+ }
You can’t perform that action at this time.
0 commit comments