This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
commit 5c6c7679f3111aa37d2ee2422fff2234d8d2deef Author: Josh Tynjala <joshtynj...@apache.org> AuthorDate: Thu Feb 6 10:38:32 2020 -0800 fix for mxmlmxml-reflect-object-property failing in tests --- .../royale/compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java index db550fc..9d1fa86 100644 --- a/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java +++ b/compiler-jx/src/main/java/org/apache/royale/compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java @@ -2854,7 +2854,7 @@ public class MXMLRoyaleEmitter extends MXMLEmitter implements MXMLDescriptorSpecifier currentPropertySpecifier = new MXMLDescriptorSpecifier(); currentPropertySpecifier.isProperty = true; - currentPropertySpecifier.useGoogReflectObjectProperty = project.config.getRenamePublicSymbols() && project.config.getMxmlReflectObjectProperty(); + currentPropertySpecifier.useGoogReflectObjectProperty = project.config != null && project.config.getRenamePublicSymbols() && project.config.getMxmlReflectObjectProperty(); currentPropertySpecifier.name = cdef != null ? cdef.getQualifiedName() : node.getName(); currentPropertySpecifier.parent = currentInstance;