Missing translation for "--illegal-access"; Hadoop problems with build 175

Alan Bateman Alan.Bateman at oracle.com
Mon Jun 26 08:00:07 UTC 2017


On 26/06/2017 08:35, Uwe Schindler wrote:
> :
>
> So I just wanted to give you some feedback that translations are obviously missing. FYI, the Linux version in English returns the correct text.
The last translation drop went into jdk-9+172 so it's out of sync with 
the CLI/usage messages in builds since then. In addition to 
--illegal-access, there are a few other changes to, and at least one 
new, error message(s) that also need updated translations.

>
> FYI, the new version string (just "9") again caused some serious problem in open source projects. This time Hadoop, see https://issues.apache.org/jira/browse/HADOOP-14586. Issue is the following static final constant, leading to NoClassDefFound error and a cascade of classes no longer initializing:
> private static boolean IS_JAVA7_OR_ABOVE =
>        System.getProperty("java.version").substring(0, 3).compareTo("1.7") >= 0;
>
> Damn! �� (the above code is IMHO just horrible wrong, never ever do something like this). In a ddition, it no even has a doPrivileged!
>
jdk-9+175 was supposed to be the first GA candidate so this is why the 
pre-release identifier "ea" was dropped. Hopefully the Hadoop 
maintainers will read JEP 223 to see how to parse version strings going 
forward.

-Alan.


More information about the jdk9-dev mailing list