- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    8
- 
        b116
- 
        windows_8
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8262278 | openjdk8u | Ge Guo | P3 | Closed | Won't Fix | 
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b120)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b62, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 8.1
A DESCRIPTION OF THE PROBLEM :
Java 8 produces
java.time.format.DateTimeParseException: Text '20130812214600025' could not be parsed at index 0
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
run this with java 8
String x = "20130812214600025";
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyyMMddHHmmssSSS");
LocalDateTime t1 = LocalDateTime.parse(x, dtf);
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
parsed successfully
ACTUAL -
Exception in thread "main" java.time.format.DateTimeParseException: Text '20130812214600025' could not be parsed at index 0
at java.time.format.DateTimeFormatter.parseResolved0(DateTimeFormatter.java:1948)
at java.time.format.DateTimeFormatter.parse(DateTimeFormatter.java:1850)
at java.time.LocalDateTime.parse(LocalDateTime.java:484)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
String x = "20130812214600025";
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyyMMddHHmmssSSS");
LocalDateTime t1 = LocalDateTime.parse(x, dtf);
---------- END SOURCE ----------
- backported by
- 
                    JDK-8262278 DateTimeFormatter won't parse dates with custom format "yyyyMMddHHmmssSSS" -           
- Closed
 
-         
- duplicates
- 
                    JDK-8038486 DateTimeFormatter requires a PERIOD character to parse a fraction-of-second. -           
- Closed
 
-         
- 
                    JDK-8138676 Failed to format a datetime using a specific format -           
- Closed
 
-         
- 
                    JDK-8213027 DateTimeFormatter fails on parsing "yyyyMMddHHmmssSSS" -           
- Closed
 
-         
- 
                    JDK-8032052 Bug in handling millisecond pattern in new java.time DateTimeFormatterBuilder -           
- Closed
 
-         
- 
                    JDK-8138676 Failed to format a datetime using a specific format -           
- Closed
 
-         
- relates to
- 
                    JDK-8032491 DateTimeFormatter fixed width adjacent value parsing does not match spec -           
- Resolved
 
-         
- 
                    JDK-8032494 DateTimeFormatter spec includes irrelevant detail on parsing pattern -           
- Resolved
 
-