-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
-
-
-
-
-
Undefined
-
When running the test org.wildfly.clustering.marshalling.spi.ExternalizerUtilTestCase we have the following error:
testCalendar(org.wildfly.clustering.marshalling.spi.ExternalizerUtilTestCase) Time elapsed: 0.027 s <<< ERROR!
java.lang.IllegalArgumentException: MONTH: 3 -> 4
at java.base/java.util.GregorianCalendar.computeTime(GregorianCalendar.java:2826)
at java.base/java.util.Calendar.updateTime(Calendar.java:3428)
at java.base/java.util.Calendar.complete(Calendar.java:2298)
at java.base/java.util.Calendar$Builder.build(Calendar.java:1548)
at org.wildfly.clustering.marshalling.AbstractUtilTestCase.testCalendar(AbstractUtilTestCase.java:115)
This is due to commit 078f407 Improve test coverage of enum set/map. which set the month at the MonthValue while calendar month field is 0 based .
- clones
-
WFLY-14662 Calendar testing for marshalling in clustering is wrong
- Closed