Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 262E6200B61 for ; Tue, 9 Aug 2016 09:55:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 24E2F160AA5; Tue, 9 Aug 2016 07:55:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6B95C160AA4 for ; Tue, 9 Aug 2016 09:55:21 +0200 (CEST) Received: (qmail 63445 invoked by uid 500); 9 Aug 2016 07:55:20 -0000 Mailing-List: contact notifications-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@groovy.apache.org Delivered-To: mailing list notifications@groovy.apache.org Received: (qmail 63434 invoked by uid 99); 9 Aug 2016 07:55:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2016 07:55:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 84A5A2C0003 for ; Tue, 9 Aug 2016 07:55:20 +0000 (UTC) Date: Tue, 9 Aug 2016 07:55:20 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: notifications@groovy.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GROOVY-7542) CompileStatic class generation bug "register with message: rightShiftUnsigned and arguments X" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 09 Aug 2016 07:55:22 -0000 [ https://issues.apache.org/jira/browse/GROOVY-7542?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15413149#comment-15413149 ] ASF GitHub Bot commented on GROOVY-7542: ---------------------------------------- Github user asfgit closed the pull request at: https://github.com/apache/groovy/pull/85 > CompileStatic class generation bug "register with message: rightShiftUnsigned and arguments X" > ---------------------------------------------------------------------------------------------- > > Key: GROOVY-7542 > URL: https://issues.apache.org/jira/browse/GROOVY-7542 > Project: Groovy > Issue Type: Bug > Components: Static compilation > Affects Versions: 2.4.4 > Environment: Groovy Version: 2.4.4 JVM: 1.7.0_55 Vendor: Oracle Corporation OS: Linux > Reporter: Matias Bjarland > > Error caused by the following code snippet (was in the process of coding a crc64 algorithm): > {code:language=groovy} > import groovy.transform.CompileStatic > test() > @CompileStatic > def test() { > long register = 0xfac432b10cd5e44aL > > [1,2,3].each { int element -> > int t = (int) (register >>> 56 ^ (long) element) & 0xff > } > } > {code} > execution example: > {code} > $ groovy test.groovy > Caught: BUG! exception in phase 'class generation' in source unit '/home/mbjarland/test.groovy' At line 11 column 20 > On receiver: register with message: rightShiftUnsigned and arguments: 56 > This method should not have been called. Please try to create a simple example reproducing this error and filea bug report at https://issues.apache.org/jira/browse/GROOVY > BUG! exception in phase 'class generation' in source unit '/home/mbjarland/projects/kohler.project/projects/full-publish/test.groovy' At line 11 column 20 > On receiver: register with message: rightShiftUnsigned and arguments: 56 > This method should not have been called. Please try to create a simple example reproducing this error and filea bug report at https://issues.apache.org/jira/browse/GROOVY > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)