Skip to content

Commit 9540b33

Browse files
cxzl25dongjoon-hyun
authored andcommitted
ORC-1609: Fix the compilation problem of TestJsonFileDump in branch 1.9
### What changes were proposed in this pull request? ### Why are the changes needed? Fix `branch_1.9` compile problem https://github.com/apache/orc/actions/runs/7769676224/job/21189006989 ### How was this patch tested? GA ### Was this patch authored or co-authored using generative AI tooling? No Closes #1784 from cxzl25/branch-1.9_ORC-1607_FOLLOWUP. Authored-by: sychen <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent f4abc82 commit 9540b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/tools/src/test/org/apache/orc/tools/TestJsonFileDump.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ public void testDoubleNaNAndInfinite() throws Exception {
159159
FileOutputStream myOut = new FileOutputStream(workDir + File.separator + outputFilename);
160160

161161
// replace stdout and run command
162-
System.setOut(new PrintStream(myOut, true, StandardCharsets.UTF_8));
162+
System.setOut(new PrintStream(myOut, true, StandardCharsets.UTF_8.toString()));
163163
FileDump.main(new String[]{testFilePath.toString(), "-j", "-p"});
164164
System.out.flush();
165165
System.setOut(origOut);

0 commit comments

Comments
 (0)