This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


The following commit(s) were added to refs/heads/develop by this push:
     new e5b9192  cache needed to be thread-safe
e5b9192 is described below

commit e5b9192b060af6c62ec43052ca420be68d632928
Author: Alex Harui <[email protected]>
AuthorDate: Sun Apr 1 00:13:29 2018 -0700

    cache needed to be thread-safe
---
 .../royale/compiler/internal/definitions/ClassDefinitionBase.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/compiler/src/main/java/org/apache/royale/compiler/internal/definitions/ClassDefinitionBase.java
 
b/compiler/src/main/java/org/apache/royale/compiler/internal/definitions/ClassDefinitionBase.java
index 80530bd..ce66b7f 100644
--- 
a/compiler/src/main/java/org/apache/royale/compiler/internal/definitions/ClassDefinitionBase.java
+++ 
b/compiler/src/main/java/org/apache/royale/compiler/internal/definitions/ClassDefinitionBase.java
@@ -418,7 +418,7 @@ public abstract class ClassDefinitionBase extends 
TypeDefinitionBase implements
     private ArrayList<IDefinition> implDefinitions = null;
     
     @Override
-    public boolean isInstanceOf(final ITypeDefinition type, ICompilerProject 
project)
+    public synchronized boolean isInstanceOf(final ITypeDefinition type, 
ICompilerProject project)
     {
         // A class is considered an instance of itself.
         if (type == this)

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to