RFR: 8303039: Utilize `coverageLevels.txt`

Steven R. Loomis duke at openjdk.org
Wed Mar 1 23:23:17 UTC 2023


On Wed, 1 Mar 2023 23:19:01 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> make/jdk/src/classes/build/tools/cldrconverter/CLDRConverter.java line 1212:
>> 
>>> 1210:                     a -> Locale.forLanguageTag(a[0].trim().replaceAll("_", "-")),
>>> 1211:                     a -> a[1].trim(),
>>> 1212:                     (v1, v2) -> v2,
>> 
>> this will grab all listed entries.  Right now, that will get you basic and above.  Ideally you would include if `v1` is one of `(basic|moderate|modern|comprehensive)` — I'm proposing to add `core` or maybe even `undefined` locales in this list (though no consensus yet)
>
> OK, will filter explicitly for those levels.

the whole set is `undetermined|core|basic|moderate|modern|comprehensive` you could use an enum and then you can select just one.

-------------

PR: https://git.openjdk.org/jdk/pull/12812



More information about the build-dev mailing list