RFR: JDK-8077992 Eliminate JDK build dependency of native2ascii and update Japanese nroff man pages to UTF-8 encoding

Mandy Chung mandy.chung at oracle.com
Fri Apr 17 13:52:37 UTC 2015


On 4/17/2015 6:09 AM, Magnus Ihse Bursie wrote:
> From bug report: "Proposal has been made to remove "native2ascii" tool 
> from JDK9.
>
> It was identified that JDK9 uses "native2ascii" itself to convert 
> Japanese nroff man pages to various encodings (Linux: UTF-8, Solaris: 
> UTF-8, PCK/SJIS) from eucJP source. [...] Since the supported Solaris 
> and Linux OS releases now support UTF-8 locales by default, we should 
> just deliver UTF-8 encoded nroff man pages and eliminate the 
> conversion process. "
>
> Michael Fang has supplied a patch that converts the man pages to UTF8. 
> My fix here will need that patch applied to the jdk repo to work. I'll 
> not supply it in the webrev though, it's large and hardly readable. It 
> is attached to the bug report.
>
> Note that the removal of the sed expression is safe since the VERSION 
> tag is long gone.
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8077992
> WebRev: 
> http://cr.openjdk.java.net/~ihse/JDK-8077992-remove-native2ascii-from-build/webrev.01
>

The build change looks good to me.   Thanks for doing this.

Mandy



More information about the build-dev mailing list