This is an automated email from the ASF dual-hosted git repository.
carlosrovira 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 aa36d41 sharedobject: Fix Implicit coercion of a value with static
type Object to a possibly unrelated type String
aa36d41 is described below
commit aa36d41f16c1abd719a92771a380bd4131c6d92f
Author: Carlos Rovira <[email protected]>
AuthorDate: Sat Oct 19 20:34:00 2019 +0200
sharedobject: Fix Implicit coercion of a value with static type Object to a
possibly unrelated type String
---
frameworks/projects/MXRoyale/src/main/royale/mx/net/SharedObject.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/net/SharedObject.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/net/SharedObject.as
index ee794bb..14df1fd 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/net/SharedObject.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/net/SharedObject.as
@@ -96,7 +96,7 @@ public class SharedObject extends
org.apache.royale.events.EventDispatcher
if (!_data)
{
_data = {};
- var allCookies:String = document.cookie;
+ var allCookies:String = String(document.cookie);
var arrCookies:Array = allCookies.split(';');
for each (var s:String in arrCookies)
{