--- a/corba/src/share/classes/org/omg/CORBA/ORB.java Wed Jul 05 16:51:35 2017 +0200
+++ b/corba/src/share/classes/org/omg/CORBA/ORB.java Mon Apr 20 00:12:19 2009 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright 1995-2005 Sun Microsystems, Inc. All Rights Reserved.
+ * Copyright 1995-2006 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -289,7 +289,7 @@
*
* @return the singleton ORB
*/
- public static ORB init() {
+ public static synchronized ORB init() {
if (singleton == null) {
String className = getSystemProperty(ORBSingletonClassKey);
if (className == null)