8381606: Javadoc typo in ResourceBundle example

Reviewed-by: iris, jlu
This commit is contained in:
Naoto Sato 2026-04-03 19:37:33 +00:00
parent 0c98ab8dc9
commit 410b3e816a

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2025, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2026, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -1119,15 +1119,15 @@ public abstract class ResourceBundle {
* sequence of bundle names generated by truncating the last underscore and
* the part following it is inserted after a candidate bundle name with the
* original variant. For example, for a locale with language "en", script
* "Latn, country "US" and variant "WINDOWS_VISTA", and bundle base name
* "Latn", country "US" and variant "WINDOWS_WIN11", and bundle base name
* "MyResource", the list of candidate bundle names below is generated:
*
* <pre>
* MyResource_en_Latn_US_WINDOWS_VISTA
* MyResource_en_Latn_US_WINDOWS_WIN11
* MyResource_en_Latn_US_WINDOWS
* MyResource_en_Latn_US
* MyResource_en_Latn
* MyResource_en_US_WINDOWS_VISTA
* MyResource_en_US_WINDOWS_WIN11
* MyResource_en_US_WINDOWS
* MyResource_en_US
* MyResource_en