-
Enhancement
-
Resolution: Unresolved
-
P4
-
15
-
None
I found this while working on JDK-8246078.
The version string used for the javadoc tool and the Standard doclet is stored in the "jdk.javadoc.internal.tool.resources.version" resource bundle. This bundle is created by build and then accessed by Javadoc at runtime.
Looking at the code and the bundle I see two problems:
1.) the bundle is not localized
2.) the bundle is used with a surprising locale, Locale.getDefault()
This has to be investigated. An important question is whether or not this version should be a localizable resource. If not, then this bundle should be swapped to a simple property file.
Today this works because this bundle is "default" which is "used as the bundle of last resort if a specific locale is not supported".
The version string used for the javadoc tool and the Standard doclet is stored in the "jdk.javadoc.internal.tool.resources.version" resource bundle. This bundle is created by build and then accessed by Javadoc at runtime.
Looking at the code and the bundle I see two problems:
1.) the bundle is not localized
2.) the bundle is used with a surprising locale, Locale.getDefault()
This has to be investigated. An important question is whether or not this version should be a localizable resource. If not, then this bundle should be swapped to a simple property file.
Today this works because this bundle is "default" which is "used as the bundle of last resort if a specific locale is not supported".
- relates to
-
JDK-8246078 Javadoc Search specification link from Javadoc Help page points to JDK 13 spec
-
- Resolved
-