Reduce race condition opportunity
git-svn-id: svn://10.0.0.236/trunk@217090 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
34a45a87f6
commit
20d2cd4e7f
@ -55,7 +55,7 @@ public final class LazilyLoadedCtor {
|
||||
this.ctorName = ctorName;
|
||||
this.sealed = sealed;
|
||||
|
||||
if (getter == null) {
|
||||
if (setter == null) {
|
||||
Method[] methods = FunctionObject.getMethodList(getClass());
|
||||
getter = FunctionObject.findSingleMethod(methods, "getProperty");
|
||||
setter = FunctionObject.findSingleMethod(methods, "setProperty");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user