You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalArgumentException: Unknown pattern letter: i
at java.base/java.time.format.DateTimeFormatterBuilder.parsePattern(DateTimeFormatterBuilder.java:1882)
at java.base/java.time.format.DateTimeFormatterBuilder.appendPattern(DateTimeFormatterBuilder.java:1772)
at java.base/java.time.format.DateTimeFormatter.ofPattern(DateTimeFormatter.java:566)
at com.alibaba.fastjson2.util.DateUtils.format(DateUtils.java:10993)
at com.alibaba.fastjson2.writer.ObjectWriterAdapter.toJSONObject(ObjectWriterAdapter.java:619)
at com.alibaba.fastjson2.JSON.toJSON(JSON.java:3726)
at com.alibaba.fastjson2.JSON.toJSON(JSON.java:3700)
at MutatedIssue460_326_1.mutatedTest1(MutatedIssue460_326_1.java:18)
The text was updated successfully, but these errors were encountered:
问题描述
可能是修改了对date的处理,以下代码在fastjson 2.0.49通过,在fastjson2-2.0.49 和 fastjson 2.0.50-SNAPSHOT中异常,也许有问题。
环境信息
重现步骤
期待的正确结果
(可能源码实现修改了?)期望正常序列化
相关日志输出
java.lang.IllegalArgumentException: Unknown pattern letter: i
The text was updated successfully, but these errors were encountered: