src/share/classes/org/omg/CORBA/ORB.java

changeset 68
4906dae0c5fa
parent 1
55540e827aef
child 98
a12ea7c7b497
     1.1 --- a/src/share/classes/org/omg/CORBA/ORB.java	Thu Apr 16 11:22:37 2009 -0700
     1.2 +++ b/src/share/classes/org/omg/CORBA/ORB.java	Mon Apr 20 00:12:19 2009 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 1995-2005 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 1995-2006 Sun Microsystems, Inc.  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 @@ -289,7 +289,7 @@
    1.11       *
    1.12       * @return the singleton ORB
    1.13       */
    1.14 -    public static ORB init() {
    1.15 +    public static synchronized ORB init() {
    1.16          if (singleton == null) {
    1.17              String className = getSystemProperty(ORBSingletonClassKey);
    1.18              if (className == null)

mercurial