From commits-return-5057-archive-asf-public=cust-asf.ponee.io@royale.apache.org Fri Aug 10 00:24:34 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0FF0518065B for ; Fri, 10 Aug 2018 00:24:33 +0200 (CEST) Received: (qmail 86258 invoked by uid 500); 9 Aug 2018 22:24:33 -0000 Mailing-List: contact commits-help@royale.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@royale.apache.org Delivered-To: mailing list commits@royale.apache.org Received: (qmail 86249 invoked by uid 99); 9 Aug 2018 22:24:33 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2018 22:24:33 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 9FD96852D5; Thu, 9 Aug 2018 22:24:32 +0000 (UTC) Date: Thu, 09 Aug 2018 22:24:32 +0000 To: "commits@royale.apache.org" Subject: [royale-asjs] branch feature/MXRoyale updated: try to fix build MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <153385347259.15617.2053461028741261827@gitbox.apache.org> From: aharui@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: royale-asjs X-Git-Refname: refs/heads/feature/MXRoyale X-Git-Reftype: branch X-Git-Oldrev: 397711514c262d76954985437e4b1bfb11e059f4 X-Git-Newrev: 311ada2ce677789ccdf2497c00a5d932c7bba1e2 X-Git-Rev: 311ada2ce677789ccdf2497c00a5d932c7bba1e2 X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. aharui pushed a commit to branch feature/MXRoyale in repository https://gitbox.apache.org/repos/asf/royale-asjs.git The following commit(s) were added to refs/heads/feature/MXRoyale by this push: new 311ada2 try to fix build 311ada2 is described below commit 311ada2ce677789ccdf2497c00a5d932c7bba1e2 Author: Alex Harui AuthorDate: Thu Aug 9 15:24:05 2018 -0700 try to fix build --- .../src/main/royale/org/apache/royale/net/utils/RPCUIDUtil.as | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/utils/RPCUIDUtil.as b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/utils/RPCUIDUtil.as index 15cf2ad..4a148c0 100644 --- a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/utils/RPCUIDUtil.as +++ b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/utils/RPCUIDUtil.as @@ -103,7 +103,8 @@ package org.apache.royale.net.utils UIDBuffer.writeByte(ALPHA_CHAR_CODES[int(Math.random() * 16)]); } - return UIDBuffer.toString(); + UIDBuffer.position = 0; + return UIDBuffer.readUTFBytes(UIDBuffer.length); } /** @@ -136,7 +137,8 @@ package org.apache.royale.net.utils UIDBuffer.writeByte(ALPHA_CHAR_CODES[(b & 0xF0) >>> 4]); UIDBuffer.writeByte(ALPHA_CHAR_CODES[(b & 0x0F)]); } - return UIDBuffer.toString(); + UIDBuffer.position = 0; + return UIDBuffer.readUTFBytes(UIDBuffer.length); } return null;