You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2021/03/15 23:05:13 UTC

[royale-compiler] 01/02: playerglobalc: keys of REST_METHODS should have been fully qualified

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 a2a3a8e6993f98a02cf081bae74615edf02d2f84
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Mon Mar 15 15:55:52 2021 -0700

    playerglobalc: keys of REST_METHODS should have been fully qualified
---
 .../java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
index 1887498..b45f41c 100644
--- a/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
+++ b/compiler-playerglobalc/src/main/java/org/apache/royale/compiler/clients/PLAYERGLOBALC.java
@@ -74,10 +74,10 @@ class PLAYERGLOBALC implements FlexTool {
 			"String", "uint", "XML", "XMLList");
 	private static final Map<String, List<String>> REST_METHODS = new HashMap<String, List<String>>();
 	{
-		REST_METHODS.put("Vector$object", Arrays.asList("sort"));
-		REST_METHODS.put("Vector$double", Arrays.asList("sort"));
-		REST_METHODS.put("Vector$int", Arrays.asList("sort"));
-		REST_METHODS.put("Vector$uint", Arrays.asList("sort"));
+		REST_METHODS.put("__AS3__.vec.Vector$object", Arrays.asList("sort"));
+		REST_METHODS.put("__AS3__.vec.Vector$double", Arrays.asList("sort"));
+		REST_METHODS.put("__AS3__.vec.Vector$int", Arrays.asList("sort"));
+		REST_METHODS.put("__AS3__.vec.Vector$uint", Arrays.asList("sort"));
 	}
 	private static final Map<String, List<String>> ANY_METHODS = new HashMap<String, List<String>>();
 	{