Rainer,
On 2/12/25 7:56 AM, Christopher Schultz wrote:
On 2/11/25 6:29 PM, Rainer Jung wrote:
>>
>> [snip]
>>
If I add en locale to javadoc in build.xml the javadoc command is
executed with -locale en but still uses german text.
???!!!
I would consider that to be an OpenJDK bug...
It can be seen already when called with "--help". Setting the locale
does not change the language of the help output.
After reading
https://bugs.openjdk.org/browse/JDK-8222793?
focusedId=14315060&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel
:D
It says "fixed in Java 15" but then the comments suggest that there may
have been a regression. Which version(s) of Java are you using for your
testing? I've been using 23.0.2, the same version I last used for a
release.
I added
-J-Duser.language=en -J-Duser.country=US
and then the help text switches to en. Not sure whether we can add
that to build.xml.
We are using the <javadoc> task which doesn't have documentation for
that, but maybe it's hackable. Another option would be to request that
Apache Ant add this. Actually, we could add it ourselves and issue a PR :)
Okay, I missed both the "additionalparam" and the ability to use nested
<arg> in <javadoc>.
I've added another patch in main. If it works, I'll back-port to the
release branches.
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org