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 A02E0200C8C for ; Tue, 2 May 2017 04:04:32 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9F0AC160BC9; Tue, 2 May 2017 02:04:32 +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 A8B61160BCF for ; Tue, 2 May 2017 04:04:29 +0200 (CEST) Received: (qmail 94713 invoked by uid 500); 2 May 2017 02:04:28 -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 94660 invoked by uid 99); 2 May 2017 02:04:28 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 May 2017 02:04:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 855B6C0DA4 for ; Tue, 2 May 2017 02:04:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id YSu-xDO4r9C9 for ; Tue, 2 May 2017 02:04:27 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id AF2366119A for ; Tue, 2 May 2017 02:04:20 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CAF9CE0D19 for ; Tue, 2 May 2017 02:04:19 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 7267E21E5D for ; Tue, 2 May 2017 02:04:18 +0000 (UTC) Date: Tue, 2 May 2017 02:04:18 +0000 (UTC) From: "Paul King (JIRA)" To: notifications@groovy.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (GROOVY-6617) joint compiler fails to compile groovy class implemented java interface MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 02 May 2017 02:04:32 -0000 [ https://issues.apache.org/jira/browse/GROOVY-6617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul King closed GROOVY-6617. ----------------------------- > joint compiler fails to compile groovy class implemented java interface > ----------------------------------------------------------------------- > > Key: GROOVY-6617 > URL: https://issues.apache.org/jira/browse/GROOVY-6617 > Project: Groovy > Issue Type: Bug > Components: Stub generator / Joint compiler > Affects Versions: 1.8.6, 2.2.2, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.4.6, 2.4.8, 2.4.9, 2.4.10, 2.4.11 > Environment: linux x86-64 > oracle jdk 1.6.0.45, oracle jdk 1.8.0.121 > Reporter: Igor E. Poteryaev > Assignee: Paul King > Priority: Minor > Fix For: 2.5.0-alpha-1 > > Attachments: groovy-joint-compiler-bug-again.tar, groovy-joint-compiler-bug.tar > > > When groovy class implements java interface located in other package with method returning array of java objects (not primitive), joint compilation fails with org.codehaus.groovy.control.MultipleCompilationErrorsException > Running joint compiler again compiles this groovy class successfully. > Attached file contains example files and script to run groovyc in joint compiler mode. > Run ./joint-compile.sh - MultipleCompilationErrorsException > Run it again - success. > To reproduce please remove created *.class files > Reproduced - always. > Workaround: add package name of returned java class to groovy method > {code} > public foo.JavaDataObject[] ... > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)