src/share/jaxws_classes/javax/xml/bind/DatatypeConverter.java

changeset 397
b99d7e355d4b
parent 286
f50545b5e2f1
child 637
9c07ef4934dd
     1.1 --- a/src/share/jaxws_classes/javax/xml/bind/DatatypeConverter.java	Thu Aug 08 10:10:38 2013 -0700
     1.2 +++ b/src/share/jaxws_classes/javax/xml/bind/DatatypeConverter.java	Fri Aug 23 09:57:21 2013 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -94,7 +94,7 @@
    1.11  final public class DatatypeConverter {
    1.12  
    1.13      // delegate to this instance of DatatypeConverter
    1.14 -    private static DatatypeConverterInterface theConverter = null;
    1.15 +    private static volatile DatatypeConverterInterface theConverter = null;
    1.16  
    1.17      private final static JAXBPermission SET_DATATYPE_CONVERTER_PERMISSION =
    1.18                             new JAXBPermission("setDatatypeConverter");

mercurial