You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by Harbs <ha...@gmail.com> on 2017/03/28 17:52:16 UTC

Re: git commit: [flex-falcon] [refs/heads/develop] - Try to fix getListOfFiles exception. If you get this error and the log says 'No GoogDep for xxx' and 'xxx' is a native Javascript type, add it to NativeUtils.java

Do we need to also add Map and WeakMap, etc.?

> On Mar 28, 2017, at 7:59 PM, aharui@apache.org wrote:
> 
> Repository: flex-falcon
> Updated Branches:
>  refs/heads/develop fce80f5f4 -> 639c5f2c6
> 
> 
> Try to fix getListOfFiles exception.  If you get this error and the log says 'No GoogDep for xxx' and 'xxx' is a native Javascript type, add it to NativeUtils.java
> 
> 
> Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
> Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/639c5f2c
> Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/639c5f2c
> Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/639c5f2c
> 
> Branch: refs/heads/develop
> Commit: 639c5f2c612864461c8a02ed43a14c285daa11ae
> Parents: fce80f5
> Author: Alex Harui <ah...@apache.org>
> Authored: Tue Mar 28 09:59:02 2017 -0700
> Committer: Alex Harui <ah...@apache.org>
> Committed: Tue Mar 28 09:59:02 2017 -0700
> 
> ----------------------------------------------------------------------
> .../java/org/apache/flex/compiler/utils/NativeUtils.java  | 10 ++++++++++
> 1 file changed, 10 insertions(+)
> ----------------------------------------------------------------------
> 
> 
> http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/639c5f2c/compiler-jx/src/main/java/org/apache/flex/compiler/utils/NativeUtils.java
> ----------------------------------------------------------------------
> diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/utils/NativeUtils.java b/compiler-jx/src/main/java/org/apache/flex/compiler/utils/NativeUtils.java
> index 7245a17..b2396c1 100644
> --- a/compiler-jx/src/main/java/org/apache/flex/compiler/utils/NativeUtils.java
> +++ b/compiler-jx/src/main/java/org/apache/flex/compiler/utils/NativeUtils.java
> @@ -90,9 +90,19 @@ public class NativeUtils
> 
>         Event("Event"),
>         Array("Array"),
> +        Float32Array("Float32Array"),
> +        Float64Array("Float64Array"),
> +        Int8Array("Int8Array"),
> +        Int16Array("Int16Array"),
> +        Int32Array("Int32Array"),
> +        Uint8Array("Uint8Array"),
> +        Uint8ClampedArray("Uint8ClampedArray"),
> +        Uint16Array("Uint16Array"),
> +        Uint32Array("Uint32Array"),
>         Date("Date"),
>         Math("Math"),
>         Error("Error"),
> +        RangeError("RangeError"),
>         Boolean("Boolean"),
>         decodeURI("decodeURI"),
>         decodeURIComponent("decodeURIComponent"),
>