mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8341975: Unable to set encoding for IO.println, IO.print and IO.readln
Reviewed-by: rriggs, iris, alanb
This commit is contained in:
parent
a522d216b5
commit
426da4bbad
5 changed files with 67 additions and 56 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2005, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2005, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -36,9 +36,3 @@ Java_java_io_Console_istty(JNIEnv *env, jclass cls)
|
|||
{
|
||||
return isatty(fileno(stdin)) && isatty(fileno(stdout));
|
||||
}
|
||||
|
||||
JNIEXPORT jstring JNICALL
|
||||
Java_java_io_Console_encoding(JNIEnv *env, jclass cls)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue