Skip to content

Commit 48831c6

Browse files
committed
8367021: Regression in LocaleDataTest refactoring
Reviewed-by: jlu, joehw
1 parent ab12fbf commit 48831c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/jdk/sun/text/resources/LocaleDataTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
* 8187946 8195478 8181157 8179071 8193552 8202026 8204269 8202537 8208746
4242
* 8209775 8221432 8227127 8230284 8231273 8233579 8234288 8250665 8255086
4343
* 8251317 8274658 8283277 8283805 8265315 8287868 8295564 8284840 8296715
44-
* 8301206 8303472 8317979 8306116 8174269 8333582 8357075 8357882
44+
* 8301206 8303472 8317979 8306116 8174269 8333582 8357075 8357882 8367021
4545
* @summary Verify locale data
4646
* @modules java.base/sun.util.resources
4747
* @modules jdk.localedata
@@ -204,7 +204,7 @@ else if (!args[i].startsWith("-") && in == null)
204204
in = new BufferedReader(new InputStreamReader(new
205205
FileInputStream(localeData), StandardCharsets.UTF_8));
206206
}
207-
out = new PrintWriter(new OutputStreamWriter(System.out, StandardCharsets.UTF_8));
207+
out = new PrintWriter(new OutputStreamWriter(System.out, StandardCharsets.UTF_8), true);
208208

209209
// perform the actual test
210210
int errorCount = doTest(in, out, writeNewFile);

0 commit comments

Comments
 (0)