- 
    Bug 
- 
    Resolution: Fixed
- 
     P3 P3
- 
    9
- 
        b22
- 
        generic
- 
        generic
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build | 
|---|---|---|---|---|---|---|
| JDK-8220024 | openjdk8u212 | Ramanand Patil | P3 | Resolved | Fixed | b01 | 
| JDK-8219843 | 8u222 | Ramanand Patil | P3 | Resolved | Fixed | master | 
| JDK-8215939 | 8u221 | Deepak Kejriwal | P3 | Resolved | Fixed | b01 | 
| JDK-8219763 | 8u212 | Ramanand Patil | P3 | Resolved | Fixed | b06 | 
| JDK-8219741 | 8u211 | Ramanand Patil | P3 | Resolved | Fixed | b08 | 
| JDK-8224391 | emb-8u221 | Ramanand Patil | P3 | Resolved | Fixed | master | 
| JDK-8221047 | emb-8u211 | Ramanand Patil | P3 | Resolved | Fixed | b08 | 
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+169)
Java HotSpot(TM) Server VM (build 9-ea+169, mixed mode, emulated-client)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
By
At the Japanese Era, the JDK's built-in resource for the short form of Eras are same to the full form. Dispite of this, The changes on
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
The following code snippet demonstrate the issue (" -Djdk.calendar.japanese.supplemental.era=name=NewEra,abbr=N.E.,since=1546300800000" is given on invocation):
--
LocalDate ldHeisei = LocalDate.of(2018, 1, 1);
LocalDate ldNewEra = LocalDate.of(2019, 1, 1); // first day of NewEra
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("GGGGG GGGG G")
.withChronology(JapaneseChronology.INSTANCE)
.withLocale(Locale.US);
System.out.println(dtf.format(ldHeisei));
System.out.println(dtf.format(ldNewEra));
--
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
H Heisei Heisei
N.E. NewEra NewEra
ACTUAL -
H Heisei Heisei
N.E. NewEra N.E.
REPRODUCIBILITY :
This bug can be reproduced always.
- backported by
- 
                    JDK-8215939 Wrong short form text for supplemental Japanese era -           
- Resolved
 
-         
- 
                    JDK-8219741 Wrong short form text for supplemental Japanese era -           
- Resolved
 
-         
- 
                    JDK-8219763 Wrong short form text for supplemental Japanese era -           
- Resolved
 
-         
- 
                    JDK-8219843 Wrong short form text for supplemental Japanese era -           
- Resolved
 
-         
- 
                    JDK-8220024 Wrong short form text for supplemental Japanese era -           
- Resolved
 
-         
- 
                    JDK-8221047 Wrong short form text for supplemental Japanese era -           
- Resolved
 
-         
- 
                    JDK-8224391 Wrong short form text for supplemental Japanese era -           
- Resolved
 
-         
- relates to
- 
                    JDK-8216204 Wrong SimpleDateFormat behavior with Japanese Imperial Calendar -           
- Closed
 
-