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

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Fri Apr 17 13:09:17 UTC 2015

 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

Magnus, Head Director of Good Riddance Dept.

More information about the build-dev mailing list