reta commented on a change in pull request #721:
URL: https://github.com/apache/cxf/pull/721#discussion_r526508509
##########
File path:
rt/bindings/corba/src/main/java/org/apache/cxf/binding/corba/utils/CorbaAnyHelper.java
##########
@@ -273,257 +267,19 @@ public static void extractPrimitiveFromAny(Any a,
CorbaPrimitiveHandler primitiv
}
private static Any createFixedAny(ORB orb, Any any) {
- createFixedAnyConstructor();
+ if (fixedAnyConstructor == null) {
Review comment:
Don't like that, but we probably need `synchronized` block here, the
original static method `createFixedAnyConstructor` was declared `static
synchronized` probably to protected against concurrent generation.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]