jdk/src/share/classes/java/util/Locale.java
changeset 6840 51af1a50aec6
parent 6655 b4130d85e450
child 6843 6ab7e78c51eb
equal deleted inserted replaced
6839:1e57288ce186 6840:51af1a50aec6
  1939      * @serialField country     String
  1939      * @serialField country     String
  1940      *      country subtag in upper case. (See <a href="java/util/Locale.html#getCountry()">getCountry()</a>)
  1940      *      country subtag in upper case. (See <a href="java/util/Locale.html#getCountry()">getCountry()</a>)
  1941      * @serialField variant     String
  1941      * @serialField variant     String
  1942      *      variant subtags separated by LOWLINE characters. (See <a href="java/util/Locale.html#getVariant()">getVariant()</a>)
  1942      *      variant subtags separated by LOWLINE characters. (See <a href="java/util/Locale.html#getVariant()">getVariant()</a>)
  1943      * @serialField hashcode    int
  1943      * @serialField hashcode    int
  1944      *      deprectated, for forward compatibility only
  1944      *      deprecated, for forward compatibility only
  1945      * @serialField script      String
  1945      * @serialField script      String
  1946      *      script subtag in title case (See <a href="java/util/Locale.html#getScript()">getScript()</a>)
  1946      *      script subtag in title case (See <a href="java/util/Locale.html#getScript()">getScript()</a>)
  1947      * @serialField extensions  String
  1947      * @serialField extensions  String
  1948      *      canonical representation of extensions, that is,
  1948      *      canonical representation of extensions, that is,
  1949      *      BCP47 extensions in alphabetical order followed by
  1949      *      BCP47 extensions in alphabetical order followed by
  1977         fields.put("hashcode", -1); // place holder just for backward support
  1977         fields.put("hashcode", -1); // place holder just for backward support
  1978         out.writeFields();
  1978         out.writeFields();
  1979     }
  1979     }
  1980 
  1980 
  1981     /**
  1981     /**
  1982      * Deserialize this <code>Locale</code>.
  1982      * Deserializes this <code>Locale</code>.
  1983      * @param in the <code>ObjectInputStream</code> to read
  1983      * @param in the <code>ObjectInputStream</code> to read
  1984      * @throws IOException
  1984      * @throws IOException
  1985      * @throws ClassNotFoundException
  1985      * @throws ClassNotFoundException
  1986      * @throws IllformdLocaleException
  1986      * @throws IllformdLocaleException
  1987      * @since 1.7
  1987      * @since 1.7