Skip to content

Commit

Permalink
Merge branch 'master' into JDK-8330694
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBing authored May 2, 2024
2 parents a76a71d + 553d45b commit f4e066c
Show file tree
Hide file tree
Showing 1,911 changed files with 19,448 additions and 16,772 deletions.
2 changes: 1 addition & 1 deletion make/CompileDemos.gmk
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ $(eval $(call SetupBuildDemo, SampleTree, \
))

$(eval $(call SetupBuildDemo, TableExample, \
DISABLED_WARNINGS := rawtypes unchecked deprecation this-escape, \
DISABLED_WARNINGS := rawtypes unchecked deprecation this-escape dangling-doc-comments, \
DEMO_SUBDIR := jfc, \
))

Expand Down
4 changes: 2 additions & 2 deletions make/CompileToolsJdk.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 2024, 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
Expand Down Expand Up @@ -55,7 +55,7 @@ $(eval $(call SetupJavaCompilation, BUILD_TOOLS_JDK, \
build/tools/depend \
, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/jdk_tools_classes, \
DISABLED_WARNINGS := options, \
DISABLED_WARNINGS := dangling-doc-comments options, \
JAVAC_FLAGS := \
--add-exports java.desktop/sun.awt=ALL-UNNAMED \
--add-exports java.base/sun.text=ALL-UNNAMED \
Expand Down
3 changes: 2 additions & 1 deletion make/GenerateLinkOptData.gmk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2024, 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
Expand Down Expand Up @@ -43,6 +43,7 @@ $(eval $(call SetupJavaCompilation, CLASSLIST_JAR, \
SMALL_JAVA := false, \
SRC := $(TOPDIR)/make/jdk/src/classes, \
INCLUDES := build/tools/classlist, \
DISABLED_WARNINGS := dangling-doc-comments, \
BIN := $(BUILDTOOLS_OUTPUTDIR)/classlist_classes, \
JAR := $(SUPPORT_OUTPUTDIR)/classlist.jar, \
))
Expand Down
2 changes: 1 addition & 1 deletion make/autoconf/jdk-options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ AC_DEFUN_ONCE([JDKOPT_SETUP_UNDEFINED_BEHAVIOR_SANITIZER],
[
# GCC reports lots of likely false positives for stringop-truncation and format-overflow.
# Silence them for now.
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base"
UBSAN_CHECKS="-fsanitize=undefined -fsanitize=float-divide-by-zero -fno-sanitize=shift-base -fno-sanitize=alignment"
UBSAN_CFLAGS="$UBSAN_CHECKS -Wno-stringop-truncation -Wno-format-overflow -fno-omit-frame-pointer -DUNDEFINED_BEHAVIOR_SANITIZER"
UBSAN_LDFLAGS="$UBSAN_CHECKS"
UTIL_ARG_ENABLE(NAME: ubsan, DEFAULT: false, RESULT: UBSAN_ENABLED,
Expand Down
6 changes: 4 additions & 2 deletions make/data/cldr/LICENSE.txt → make/data/cldr/LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
UNICODE LICENSE V3
UNICODE LICENSE V3

COPYRIGHT AND PERMISSION NOTICE

Copyright © 2019-2023 Unicode, Inc.
Copyright © 1991-2024 Unicode, Inc.

NOTICE TO USER: Carefully read the following legal agreement. BY
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
Expand Down Expand Up @@ -37,3 +37,5 @@ Except as contained in this notice, the name of a copyright holder shall
not be used in advertising or otherwise to promote the sale, use or other
dealings in these Data Files or Software without prior written
authorization of the copyright holder.

SPDX-License-Identifier: Unicode-3.0
4 changes: 0 additions & 4 deletions make/data/cldr/README

This file was deleted.

10 changes: 10 additions & 0 deletions make/data/cldr/README-common.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# CLDR Common Data

This zipfile contains [CLDR](http://cldr.unicode.org) Common Data.

## LICENSE

See [LICENSE.txt](./LICENSE.txt)

>Copyright © 2019-2022 Unicode, Inc. All rights reserved.
>Distributed under the Terms of Use in https://www.unicode.org/copyright.html
2 changes: 1 addition & 1 deletion make/data/cldr/common/bcp47/collation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="phonebk" description="Phonebook style ordering (such as in German)" alias="phonebook"/>
<type name="phonetic" description="Phonetic ordering (sorting based on pronunciation)"/>
<type name="pinyin" description="Pinyin ordering for Latin and for CJK characters (used in Chinese)"/>
<type name="reformed" description="Reformed ordering (such as in Swedish)"/>
<type name="reformed" description="Reformed ordering (such as in Swedish)" deprecated="true"/>
<type name="search" description="Special collation type for string search" since="1.9"/>
<type name="searchjl" description="Special collation type for Korean initial consonant search" since="2.0.1"/>
<type name="standard" description="Default ordering for each language"/>
Expand Down
1 change: 1 addition & 0 deletions make/data/cldr/common/bcp47/currency.xml
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ For terms of use, see http://www.unicode.org/copyright.html
<type name="xbc" description="European Unit of Account (XBC)" since="1.9"/>
<type name="xbd" description="European Unit of Account (XBD)" since="1.9"/>
<type name="xcd" description="East Caribbean Dollar"/>
<type name="xcg" description="Caribbean Guilder"/>
<type name="xdr" description="Special Drawing Rights" since="1.9"/>
<type name="xeu" description="European Currency Unit" since="1.9"/>
<type name="xfo" description="French Gold Franc" since="1.9"/>
Expand Down
6 changes: 3 additions & 3 deletions make/data/cldr/common/dtd/ldml.dtd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
Copyright © 1991-2023 Unicode, Inc.
Copyright © 1991-2024 Unicode, Inc.
For terms of use, see http://www.unicode.org/copyright.html
SPDX-License-Identifier: Unicode-DFS-2016
SPDX-License-Identifier: Unicode-3.0
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
-->

Expand Down Expand Up @@ -42,7 +42,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<!ATTLIST version number CDATA #REQUIRED >
<!--@MATCH:regex/\$Revision.*\$-->
<!--@METADATA-->
<!ATTLIST version cldrVersion CDATA #FIXED "44" >
<!ATTLIST version cldrVersion CDATA #FIXED "45" >
<!--@MATCH:any-->
<!--@VALUE-->
<!ATTLIST version draft (approved | contributed | provisional | unconfirmed | true | false) #IMPLIED >
Expand Down
8 changes: 4 additions & 4 deletions make/data/cldr/common/dtd/ldml.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file
-->

<!--
Copyright © 1991-2023 Unicode, Inc.
Copyright © 1991-2024 Unicode, Inc.
For terms of use, see http://www.unicode.org/copyright.html
SPDX-License-Identifier: Unicode-DFS-2016
SPDX-License-Identifier: Unicode-3.0
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
--><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
Expand Down Expand Up @@ -128,10 +128,10 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file
<xs:element name="version">
<xs:complexType>
<xs:attribute name="number" use="required"/>
<xs:attribute default="44" name="cldrVersion">
<xs:attribute default="45" name="cldrVersion">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="44"/>
<xs:enumeration value="45"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Expand Down
6 changes: 3 additions & 3 deletions make/data/cldr/common/dtd/ldmlBCP47.dtd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
Copyright © 1991-2023 Unicode, Inc.
Copyright © 1991-2024 Unicode, Inc.
For terms of use, see http://www.unicode.org/copyright.html
SPDX-License-Identifier: Unicode-DFS-2016
SPDX-License-Identifier: Unicode-3.0
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
-->

Expand All @@ -12,7 +12,7 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<!ATTLIST version number CDATA #REQUIRED >
<!--@MATCH:regex/\$Revision.*\$-->
<!--@METADATA-->
<!ATTLIST version cldrVersion CDATA #FIXED "44" >
<!ATTLIST version cldrVersion CDATA #FIXED "45" >
<!--@MATCH:version-->
<!--@VALUE-->

Expand Down
8 changes: 4 additions & 4 deletions make/data/cldr/common/dtd/ldmlBCP47.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file
-->

<!--
Copyright © 1991-2023 Unicode, Inc.
Copyright © 1991-2024 Unicode, Inc.
For terms of use, see http://www.unicode.org/copyright.html
SPDX-License-Identifier: Unicode-DFS-2016
SPDX-License-Identifier: Unicode-3.0
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
--><xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="ldmlBCP47">
Expand All @@ -24,10 +24,10 @@ Note: DTD @-annotations are not currently converted to .xsd. For full CLDR file
<xs:element name="version">
<xs:complexType>
<xs:attribute name="number" use="required"/>
<xs:attribute default="44" name="cldrVersion">
<xs:attribute default="45" name="cldrVersion">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="44"/>
<xs:enumeration value="45"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
Expand Down
2 changes: 1 addition & 1 deletion make/data/cldr/common/dtd/ldmlICU.dtd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!--
Copyright © 1991-2021 Unicode, Inc.
For terms of use, see http://www.unicode.org/copyright.html
SPDX-License-Identifier: Unicode-DFS-2016
SPDX-License-Identifier: Unicode-3.0
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
-->

Expand Down
47 changes: 38 additions & 9 deletions make/data/cldr/common/dtd/ldmlSupplemental.dtd
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<!--
Copyright © 1991-2023 Unicode, Inc.
Copyright © 1991-2024 Unicode, Inc.
For terms of use, see http://www.unicode.org/copyright.html
SPDX-License-Identifier: Unicode-DFS-2016
SPDX-License-Identifier: Unicode-3.0
CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/)
-->

<!ELEMENT supplementalData ( version, generation?, cldrVersion?, currencyData?, territoryContainment?, subdivisionContainment?, languageData?, territoryInfo?, postalCodeData?, calendarData?, calendarPreferenceData?, weekData?, timeData?, measurementData?, unitIdComponents?, unitConstants*, unitQuantities*, convertUnits*, unitPreferenceData?, timezoneData?, characters?, transforms?, metadata?, codeMappings?, parentLocales*, personNamesDefaults?, likelySubtags?, metazoneInfo?, plurals?, telephoneCodeData?, numberingSystems?, bcp47KeywordMappings?, gender?, references?, languageMatching?, dayPeriodRuleSet*, metaZones?, primaryZones?, windowsZones?, coverageLevels?, idValidity?, rgScope?, languageGroups?, grammaticalData? ) >
<!ELEMENT supplementalData ( version, generation?, cldrVersion?, currencyData?, territoryContainment?, subdivisionContainment?, languageData?, territoryInfo?, postalCodeData?, calendarData?, calendarPreferenceData?, weekData?, timeData?, measurementData?, unitIdComponents?, unitPrefixes?, unitConstants*, unitQuantities*, convertUnits*, unitPreferenceData?, timezoneData?, characters?, transforms?, metadata?, codeMappings?, parentLocales*, personNamesDefaults?, likelySubtags?, metazoneInfo?, plurals?, telephoneCodeData?, numberingSystems?, bcp47KeywordMappings?, gender?, references?, languageMatching?, dayPeriodRuleSet*, metaZones?, primaryZones?, windowsZones?, coverageLevels?, idValidity?, rgScope?, languageGroups?, grammaticalData? ) >

<!ELEMENT version EMPTY >
<!--@METADATA-->
<!ATTLIST version number CDATA #REQUIRED >
<!--@MATCH:any-->
<!--@METADATA-->
<!ATTLIST version cldrVersion CDATA #FIXED "44" >
<!ATTLIST version cldrVersion CDATA #FIXED "45" >
<!--@MATCH:version-->
<!--@VALUE-->
<!ATTLIST version unicodeVersion CDATA #FIXED "15.0.0" >
<!ATTLIST version unicodeVersion CDATA #FIXED "15.1.0" >
<!--@MATCH:version-->
<!--@VALUE-->

Expand Down Expand Up @@ -75,12 +75,18 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<!-- use from and to instead. -->
<!--@VALUE-->
<!--@DEPRECATED-->
<!ATTLIST currency iso4217 NMTOKEN #REQUIRED >
<!--@MATCH:validity/currency-->
<!ATTLIST currency from NMTOKEN #IMPLIED >
<!--@MATCH:time/yyyy-MM-dd-->
<!ATTLIST currency to NMTOKEN #IMPLIED >
<!--@MATCH:time/yyyy-MM-dd-->
<!ATTLIST currency iso4217 NMTOKEN #REQUIRED >
<!--@MATCH:validity/currency-->
<!ATTLIST currency tz CDATA #IMPLIED >
<!--@MATCH:bcp47/tz-->
<!--@VALUE-->
<!ATTLIST currency to-tz CDATA #IMPLIED >
<!--@MATCH:bcp47/tz-->
<!--@VALUE-->
<!ATTLIST currency digits NMTOKEN #IMPLIED >
<!--@VALUE-->
<!ATTLIST currency rounding NMTOKEN #IMPLIED >
Expand Down Expand Up @@ -388,6 +394,23 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<!--@MATCH:set/regex/[a-z]+[0-9]*-->
<!--@VALUE-->

<!ELEMENT unitPrefixes ( unitPrefix* ) >

<!ELEMENT unitPrefix EMPTY >
<!-- <unitPrefix type='quecto' symbol='q' power10='-30'>
<unitPrefix type='kibi' symbol='Ki' power2='10'> -->
<!ATTLIST unitPrefix type NMTOKEN #REQUIRED >
<!--@MATCH:regex/[A-Za-z]{3,6}-->
<!ATTLIST unitPrefix symbol NMTOKEN #REQUIRED >
<!--@MATCH:regex/[a-zA-Zμ]{1,2}-->
<!--@VALUE-->
<!ATTLIST unitPrefix power10 NMTOKEN #IMPLIED >
<!--@MATCH:regex/-?[0-9]{1,2}-->
<!--@VALUE-->
<!ATTLIST unitPrefix power2 NMTOKEN #IMPLIED >
<!--@MATCH:regex/[0-9]0-->
<!--@VALUE-->

<!ELEMENT unitConstants ( unitConstant* ) >

<!ELEMENT unitConstant EMPTY >
Expand Down Expand Up @@ -432,6 +455,9 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<!ATTLIST convertUnit offset CDATA #IMPLIED >
<!--@MATCH:regex/[-+*/\._ 0-9a-zA-Z]+-->
<!--@VALUE-->
<!ATTLIST convertUnit special NMTOKEN #IMPLIED >
<!--@MATCH:regex/[A-Za-z][-A-Za-z0-9]*-->
<!--@VALUE-->
<!ATTLIST convertUnit systems NMTOKENS #IMPLIED >
<!--@MATCH:set/literal/si, si_acceptable, metric, metric_adjacent, ussystem, uksystem, jpsystem, astronomical, person_age, other, prefixable-->
<!--@VALUE-->
Expand Down Expand Up @@ -912,12 +938,15 @@ CLDR data files are interpreted according to the LDML specification (http://unic
<!-- # Parent locales -->

<!ELEMENT parentLocales ( parentLocale* ) >
<!ATTLIST parentLocales component NMTOKEN #IMPLIED >
<!--@MATCH:literal/segmentations, collations-->
<!ATTLIST parentLocales component NMTOKENS #IMPLIED >
<!--@MATCH:set/literal/segmentations, collations, plurals, grammaticalFeatures-->

<!ELEMENT parentLocale EMPTY >
<!ATTLIST parentLocale parent NMTOKEN #REQUIRED >
<!--@MATCH:validity/locale-->
<!ATTLIST parentLocale localeRules NMTOKENS #IMPLIED >
<!--@MATCH:set/literal/nonlikelyScript-->
<!--@VALUE-->
<!ATTLIST parentLocale locales NMTOKENS #REQUIRED >
<!--@MATCH:set/validity/locale-->
<!--@VALUE-->
Expand Down
Loading

0 comments on commit f4e066c

Please sign in to comment.