Menu

#164 ValueType Helpers contain DCL code

open
OpenORB (104)
5
2005-04-04
2005-04-04
Lars Kühne
No

In Valuetype helpers the following code is generated:

if (_tc == null) {
synchronized(org.omg.CORBA.TypeCode.class) {
if (_tc != null)
return _tc;
// ...
}
}

This looks like the double checked locking idiom, which
is known to be incorrect.

Discussion


Log in to post a comment.