Commit 3257b1d
[FSSDK-12682] Fix Jackson serializer NoClassDefFoundError when R8 obfuscates naming strategy fields (#539)
Add consumer ProGuard rules to preserve Jackson PropertyNamingStrategies
and PropertyNamingStrategy static field names. The core-api's
JacksonSerializer uses reflection (getField("SNAKE_CASE")) to look up
these fields, and R8 obfuscation renames them, crashing the
DefaultJsonSerializer LazyHolder initializer.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 92551d2 commit 3257b1d
1 file changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
| |||
0 commit comments