On Fri, 19 Nov 2021 07:00:44 GMT, Ichiroh Takiguchi <itakigu...@openjdk.org> 
wrote:

> ncoding name COMPAT was defined for operating system encoding by JEP-400.
> https://openjdk.java.net/jeps/400
> But java does not accept "-encoding COMPAT".

Do we want this option in `javac`/`javadoc`? Should `-J-Dfile.encoding=COMPAT` 
suffice the need?
I don't think `COMPAT` is an encoding name, but a valid value to the system 
property `file.encoding`. If we wanted to regard `COMPAT` as an encoding alias 
to the native encoding, I would expect `Charset.forName("COMPAT")` would have 
to be modified, but I don't think we would do that.

-------------

PR: https://git.openjdk.java.net/jdk/pull/6475

Reply via email to