8209167: Use CLDR's time zone mappings for Windows

Reviewed-by: erikj, rriggs, ihse
This commit is contained in:
Naoto Sato 2018-09-13 13:41:17 -07:00
parent 85b57de9ce
commit 009cd15a1b
7 changed files with 176 additions and 289 deletions

View file

@ -195,3 +195,14 @@ ifeq ($(STATIC_BUILD), true)
TARGETS += $(JAVA_BASE_EXPORT_SYMBOL_FILE)
endif
################################################################################
# Copy tzmappings file for Windows
ifeq ($(OPENJDK_TARGET_OS), windows)
$(eval $(call SetupCopyFiles, COPY_TZMAPPINGS, \
FILES := $(SUPPORT_OUTPUTDIR)/gensrc/java.base/windows/conf/tzmappings, \
DEST := $(call FindLibDirForModule, $(MODULE)), \
))
TARGETS += $(COPY_TZMAPPINGS)
endif