ClosureUtils: tweak export of protected accessors because AccessorEmitter doesn't use the at-export annotation at this time
diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/utils/ClosureUtils.java b/compiler-jx/src/main/java/org/apache/royale/compiler/utils/ClosureUtils.java
index 0a28046..dd90ffa 100644
--- a/compiler-jx/src/main/java/org/apache/royale/compiler/utils/ClosureUtils.java
+++ b/compiler-jx/src/main/java/org/apache/royale/compiler/utils/ClosureUtils.java
@@ -99,7 +99,9 @@
{
if (localDef instanceof IAccessorDefinition)
{
- if ((isPublic && exportPublic) || (isProtected && exportProtected))
+ /* disabled temporarily until AccessorEmitter handles @export
+ (isProtected && exportProtected) */
+ if ((isPublic && exportPublic))
{
//if an accessor is exported, we don't
//need to prevent renaming