Skip to content

Commit 7f78711

Browse files
committed
svm: adopt "JDK-8350703: Add standard system property stdin.encoding"
1 parent fdfdf80 commit 7f78711

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/reference-manual/native-image/BuildOptions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ The following system properties are automatically copied into the generated exec
163163
| native.encoding | Specifies the host environment's character encoding |
164164
| org.graalvm.nativeimage.kind | Specifies if the image is built as a shared library or executable |
165165
| path.separator | Path separator |
166+
| stdin.encoding | Specifies the encoding for `System.in` |
166167
| stdout.encoding | Specifies the encoding for `System.out` and `System.err` |
167168
| sun.jnu.encoding | Specifies encoding when parsing values passed via the commandline |
168169

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/jdk/SystemPropertiesSupport.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ public abstract class SystemPropertiesSupport implements RuntimeSystemProperties
9292
"native.encoding",
9393
"stdout.encoding",
9494
"stderr.encoding",
95+
"stdin.encoding",
9596
};
9697

9798
/** System properties that are computed at run time on first access. */

0 commit comments

Comments
 (0)