Skip to content

Commit b8f7a30

Browse files
committed
OpenJDK 8 build 99: different toString() output from JSR-310 Instant
1 parent 2d1b442 commit b8f7a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-context/src/test/java/org/springframework/format/datetime/standard/DateTimeFormattingTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public void testBindInstant() {
288288
propertyValues.add("instant", "2009-10-31T12:00:00.000Z");
289289
binder.bind(propertyValues);
290290
assertEquals(0, binder.getBindingResult().getErrorCount());
291-
assertEquals("2009-10-31T12:00Z", binder.getBindingResult().getFieldValue("instant"));
291+
assertTrue(binder.getBindingResult().getFieldValue("instant").toString().startsWith("2009-10-31T12:00"));
292292
}
293293

294294

0 commit comments

Comments
 (0)