FULL PRODUCT VERSION :
java version " 1.8.0-ea "
Java(TM) SE Runtime Environment (build 1.8.0-ea-b93)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b34, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 7 64-bit
A DESCRIPTION OF THE PROBLEM :
There needs to be java.time support in JAXB. I have a POJO with an @XmlElement " lastModified " of type java.time.Instant, and it just gets printed out <lastModified /> (the value is ignored). It should be printed out ISO 8601-formatted (Instant.toString()). This should be the case for all ISO 8601-representable java.time types.
REPRODUCIBILITY :
This bug can be reproduced always.
java version " 1.8.0-ea "
Java(TM) SE Runtime Environment (build 1.8.0-ea-b93)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b34, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 7 64-bit
A DESCRIPTION OF THE PROBLEM :
There needs to be java.time support in JAXB. I have a POJO with an @XmlElement " lastModified " of type java.time.Instant, and it just gets printed out <lastModified /> (the value is ignored). It should be printed out ISO 8601-formatted (Instant.toString()). This should be the case for all ISO 8601-representable java.time types.
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-8042456 JAXB doesn't work with java.time.Instant
-
- Closed
-