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 978b6ed  prevent rename on info structure
978b6ed is described below

commit 978b6ed954f79455c8083e01e41d53f240c8f29c
Author: Alex Harui <[email protected]>
AuthorDate: Mon Dec 10 14:40:53 2018 -0800

    prevent rename on info structure
---
 .../compiler/internal/codegen/mxml/royale/MXMLRoyaleEmitter.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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 7e76ba3..1de916e 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
@@ -304,7 +304,7 @@ public class MXMLRoyaleEmitter extends MXMLEmitter 
implements
                        Set<String> mixins = royaleProject.mixinClassNames;
                        if (mixins.size() > 0)
                        {
-                               String mixinInject = "mixins: [";
+                               String mixinInject = "\"mixins\": [";
                                boolean firstOne = true;
                                for (String mixin : mixins)
                                {
@@ -333,7 +333,7 @@ public class MXMLRoyaleEmitter extends MXMLEmitter 
implements
                        Map<String, String> aliases = 
royaleProject.remoteClassAliasMap;
                        if (aliases != null && aliases.size() > 0)
                        {
-                               String aliasInject = sep + "remoteClassAliases: 
{";
+                               String aliasInject = sep + 
"\"remoteClassAliases\": {";
                                boolean firstOne = true;
                                for (String className : aliases.keySet())
                                {
@@ -364,7 +364,7 @@ public class MXMLRoyaleEmitter extends MXMLEmitter 
implements
                        Collection<String> locales = royaleProject.getLocales();
                        if (locales.size() > 0)
                        {
-                               String localeInject = sep + "compiledLocales: 
[";
+                               String localeInject = sep + 
"\"compiledLocales\": [";
                                boolean firstOne = true;
                                String[] localeNames = new 
String[locales.size()];
                                locales.toArray(localeNames);
@@ -383,7 +383,7 @@ public class MXMLRoyaleEmitter extends MXMLEmitter 
implements
                        List<String> bundles = 
royaleProject.compiledResourceBundleNames;
                        if (bundles.size() > 0)
                        {
-                               String bundleInject = sep + 
"compiledResourceBundleNames: [";
+                               String bundleInject = sep + 
"\"compiledResourceBundleNames\": [";
                                boolean firstOne = true;
                                for (String bundle : bundles)
                                {

Reply via email to