-
Key: I2JAV11-87
-
Legacy Issue Number: 1964
-
Status: closed
-
Source: Anonymous
-
Summary:
Summary: There are problems with creating recursive TypeCodes containing values.Our proposal is really quite simple. We want to add a new class to the
org.omg.CORBA.portable package defined as follows:package org.omg.CORBA.portable;
final public class TypeCodeLock {
}All generated type() methods in Helper"s could synchronize on the
TypeCodeLock"s class object to grab a global lock which is used during
TypeCode creation to guarnatee the atomicity of TypeCode creation.
Note, this is essentialy what is done in C++ where TypeCodes are typically
initialized in a global static initalizer which is done from a single
thread. We are just allowing the typecodes to be created lazily. -
Reported: I2JAV 1.0 — Wed, 16 Sep 1998 04:00 GMT
-
Disposition: Resolved — I2JAV 1.1
-
Disposition Summary:
Close, no action
-
Updated: Fri, 6 Mar 2015 21:36 GMT
I2JAV11 — Creating TypeCodes safely in java
- Key: I2JAV11-87
- OMG Task Force: IDL to Java December 2000 RTF