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-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new deeb1aec45 JSONReviver: when replacing a plain object with a class
instance, return the class instance
deeb1aec45 is described below
commit deeb1aec4557adcc7e8d343f51d013f7ed762b13
Author: Josh Tynjala <[email protected]>
AuthorDate: Wed Apr 16 10:17:45 2025 -0700
JSONReviver: when replacing a plain object with a class instance, return
the class instance
Commit 50d940ce9ecbf72ea628a520d08292b2c8a5f227 accidentally missed the
return statement
---
.../src/main/royale/org/apache/royale/reflection/beads/JSONReviver.as | 1 +
1 file changed, 1 insertion(+)
diff --git
a/frameworks/projects/Reflection/src/main/royale/org/apache/royale/reflection/beads/JSONReviver.as
b/frameworks/projects/Reflection/src/main/royale/org/apache/royale/reflection/beads/JSONReviver.as
index 32d6490c17..765c82f30b 100644
---
a/frameworks/projects/Reflection/src/main/royale/org/apache/royale/reflection/beads/JSONReviver.as
+++
b/frameworks/projects/Reflection/src/main/royale/org/apache/royale/reflection/beads/JSONReviver.as
@@ -113,6 +113,7 @@ public class JSONReviver implements IBead
{
newValue[p] = value[p];
}
+ return newValue;
}
}
return value;