This is an automated email from the ASF dual-hosted git repository.
harbs pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new ce2a38c Compile vectors as array
ce2a38c is described below
commit ce2a38c25a13602ede99bcf39184c077f7643ad4
Author: Harbs <[email protected]>
AuthorDate: Mon Dec 27 23:16:24 2021 +0200
Compile vectors as array
---
frameworks/js/projects/GraphicsJS/src/main/config/compile-js-config.xml | 1 +
frameworks/projects/Graphics/pom.xml | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git
a/frameworks/js/projects/GraphicsJS/src/main/config/compile-js-config.xml
b/frameworks/js/projects/GraphicsJS/src/main/config/compile-js-config.xml
index 9191ff2..d19e2b3 100644
--- a/frameworks/js/projects/GraphicsJS/src/main/config/compile-js-config.xml
+++ b/frameworks/js/projects/GraphicsJS/src/main/config/compile-js-config.xml
@@ -99,6 +99,7 @@
<js-complex-implicit-coercions>false</js-complex-implicit-coercions>
<js-resolve-uncertain>false</js-resolve-uncertain>
<js-vector-index-checks>false</js-vector-index-checks>
+ <js-vector-emulation-class>Array</js-vector-emulation-class>
</royale-config>
diff --git a/frameworks/projects/Graphics/pom.xml
b/frameworks/projects/Graphics/pom.xml
index 85cf47d..414da55 100644
--- a/frameworks/projects/Graphics/pom.xml
+++ b/frameworks/projects/Graphics/pom.xml
@@ -116,7 +116,7 @@
<includeLookupOnly>true</includeLookupOnly>
<skipExtern>true</skipExtern>
<skipAS>${royale.skipAS}</skipAS>
-
<additionalCompilerOptions>${project.compiler.options};-compiler.byte-array-embed-class=org.apache.royale.core.ByteArrayAsset</additionalCompilerOptions>
+
<additionalCompilerOptions>${project.compiler.options};-compiler.byte-array-embed-class=org.apache.royale.core.ByteArrayAsset;-js-vector-emulation-class=Array</additionalCompilerOptions>
</configuration>
</plugin>
</plugins>