Print this page
rev 5615 : 6336885: RFE: Locale Data Deployment Enhancements
4609153: Provide locale data for Indic locales
5104387: Support for gl_ES locale (galician language)
6337471: desktop/system locale preferences support
7056139: (cal) SPI support for locale-dependent Calendar parameters
7058206: Provide CalendarData SPI for week params and display field value names
7073852: Support multiple scripts for digits and decimal symbols per locale
7079560: [Fmt-Da] Context dependent month names support in SimpleDateFormat
7171324: getAvailableLocales() of locale sensitive services should return the actual availability of locales
7151414: (cal) Support calendar type identification
7168528: LocaleServiceProvider needs to be aware of Locale extensions
7171372: (cal) locale's default Calendar should be created if unknown calendar is specified
Summary: JEP 127: Improve Locale Data Packaging and Adopt Unicode CLDR Data (part 1 w/o Jigsaw. by Naoto Sato and Masayoshi Okutsu)

Split Close
Expand all
Collapse all
          --- old/make/sun/text/Makefile
          +++ new/make/sun/text/Makefile
   1    1  #
   2      -# Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
        2 +# Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved.
   3    3  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4    4  #
   5    5  # This code is free software; you can redistribute it and/or modify it
   6    6  # under the terms of the GNU General Public License version 2 only, as
   7    7  # published by the Free Software Foundation.  Oracle designates this
   8    8  # particular file as subject to the "Classpath" exception as provided
   9    9  # by Oracle in the LICENSE file that accompanied this code.
  10   10  #
  11   11  # This code is distributed in the hope that it will be useful, but WITHOUT
  12   12  # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
↓ open down ↓ 28 lines elided ↑ open up ↑
  41   41  
  42   42  #
  43   43  # Files
  44   44  #
  45   45  include FILES_java.gmk
  46   46  include FILES_properties.gmk
  47   47  
  48   48  #
  49   49  # Compile the properties files
  50   50  #
  51      -COMPILED_PROPERTIES_SUPERCLASS=LocaleNamesBundle
       51 +COMPILED_PROPERTIES_SUPERCLASS=sun.util.resources.LocaleNamesBundle
  52   52  
  53   53  #
  54   54  # Rules
  55   55  #
  56   56  include $(BUILDDIR)/common/Classes.gmk
  57   57  
  58   58  #
  59   59  # Rules to add data files BreakIterator (for th locale)
  60   60  #
  61   61  TEXT_CLASSES = $(BUILDTOOLCLASSDIR)/sun.text/classes
  62   62  
  63   63  # input
  64   64  #
  65   65  #   Notes: sun.text.resources.BreakIteratorRules_th no longer goes to runtime.
  66   66  #     They are used at JDK build phase in order to create $(BIFILES) which
  67   67  #     are used on runtime instead.
  68   68  #
  69   69  TEXT_SRCDIR = $(SHARE_SRC)/classes/sun/text/resources
  70   70  BIRULES = $(TEXT_SRCDIR)/BreakIteratorRules.java \
  71      -          $(TEXT_SRCDIR)/BreakIteratorRules_th.java
  72      -BIINFO = $(TEXT_SRCDIR)/BreakIteratorInfo_th.java
       71 +          $(TEXT_SRCDIR)/th/BreakIteratorRules_th.java
       72 +BIINFO = $(TEXT_SRCDIR)/th/BreakIteratorInfo_th.java
  73   73  UNICODEDATA = $(BUILDDIR)/tools/UnicodeData
  74   74  
  75   75  # output
  76      -BIFILES = $(CLASSDESTDIR)/sun/text/resources/WordBreakIteratorData_th \
  77      -          $(CLASSDESTDIR)/sun/text/resources/LineBreakIteratorData_th
       76 +BIFILES = $(CLASSDESTDIR)/sun/text/resources/th/WordBreakIteratorData_th \
       77 +          $(CLASSDESTDIR)/sun/text/resources/th/LineBreakIteratorData_th
  78   78  
  79   79  # builder
  80   80  GENERATEBREAKITERATORDATA_JARFILE = \
  81   81      $(BUILDTOOLJARDIR)/generatebreakiteratordata.jar
  82   82  
  83   83  $(BIFILES): $(GENERATEBREAKITERATORDATA_JARFILE) $(BIRULES) $(BIINFO) \
  84   84      $(UNICODEDATA)/UnicodeData.txt
  85   85          $(prep-target)
  86   86          $(MKDIR) -p $(TEXT_CLASSES)
  87   87          $(BOOT_JAVAC_CMD) -d $(TEXT_CLASSES) \
↓ open down ↓ 11 lines elided ↑ open up ↑
  99   99          $(RM) -r $(BIFILES)
 100  100  #
 101  101  # End of rules to add data files for BreakIterator
 102  102  #
 103  103  
 104  104  #
 105  105  # Extra rules to build locale data.
 106  106  #
 107  107  LOCALEDATA_JAR = $(EXTDIR)/localedata.jar
 108  108  
 109      -SPECIALFILES = $(CLASSDESTDIR)/sun/text/resources/thai_dict
      109 +SPECIALFILES = $(CLASSDESTDIR)/sun/text/resources/th/thai_dict
 110  110  
 111  111  $(CLASSDESTDIR)/sun/text/resources/% : $(TEXT_SRCDIR)/%
 112  112          $(install-file)
 113  113  
 114  114  $(LOCALEDATA_JAR): $(EXTDIR) $(FILES_class) $(BIFILES) $(SPECIALFILES)
 115  115          $(prep-target)
 116  116          $(BOOT_JAR_CMD) -cf $@ -C $(CLASSDESTDIR) sun \
 117  117               $(BOOT_JAR_JFLAGS)
 118  118          @$(java-vm-cleanup)
 119  119  
 120  120  build: $(LOCALEDATA_JAR)
 121  121  
 122  122  clean clobber::
 123  123          $(RM) -r $(CLASSDESTDIR) 
 124  124          $(RM) $(LOCALEDATA_JAR)
 125  125  
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX