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 D57DD200BD2 for ; Sat, 3 Dec 2016 11:52:56 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D447F160B0E; Sat, 3 Dec 2016 10:52:56 +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 270C4160B09 for ; Sat, 3 Dec 2016 11:52:56 +0100 (CET) Received: (qmail 31415 invoked by uid 500); 3 Dec 2016 10:52:55 -0000 Mailing-List: contact dev-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 dev@groovy.apache.org Received: (qmail 31405 invoked by uid 99); 3 Dec 2016 10:52:55 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Dec 2016 10:52:55 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7DA59180533 for ; Sat, 3 Dec 2016 10:52:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.202 X-Spam-Level: X-Spam-Status: No, score=-0.202 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id Srs96Gs82Tzc for ; Sat, 3 Dec 2016 10:52:53 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D3BA95F2EF for ; Sat, 3 Dec 2016 10:52:52 +0000 (UTC) Received: from [192.168.10.6] ([77.177.241.248]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lxxrw-1ciw4t32X6-015LMO for ; Sat, 03 Dec 2016 11:52:51 +0100 Subject: Re: Groovy+Java9 status? To: dev@groovy.apache.org References: From: Jochen Theodorou Message-ID: <5842A401.4080702@gmx.org> Date: Sat, 3 Dec 2016 11:52:49 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:4Q7ATqinRhMFwJgEVw+T9m+5yn51KavthbLBEPVRpvLYvGWcOqm VcoLTjFW6ru8P76d0QlYrJ5sJcap3DeqLAiEjh0MNq+lPXbDiTDPxbnTOJrlmjdwAXd7l7C a/Kf+aeII5E+hHWDhzy+JoU2plxS+ZNmF4YkCM7R9Ut5cvbwnM5SeLpsKZKkzsUDoBLtt2G W/KoVQYU8nfd/kopk+fpg== X-UI-Out-Filterresults: notjunk:1;V01:K0:H+vifTSDiTw=:WVWpURjQD6BA/u5vfdNY0d G0RmmiSh5fIyzYYeJUTJuCuLIYub9a2HjvIJVCcbVG6eypizgma2xmUClz3FADxpzhr4qWnGJ nV+09FIBep7O3fRQPxGW8YiPhhZSnpIx6KqsY3FOQvjdSh6NgeHusnuS+/3eMZp3SmOy523vr AExg2FUPAlK2MqWX0baFbPtgw79B5pWWJAXgNrDk1J4DaznYRbhXyI1XwnRfnNMIHDQQCFm55 0rvbMQlWEHxAo4EJena8d+LKIXEDxNM7VymxkhABV3Kk0L6oQsSX+2DLY2PUdhWwYQRpqv9jt xw6cMyELwDiAZicQJ+kVgvEj1S/agtNOVo34iZ6m9n4QYlU4+ApFofI6zmEQ4teoNFsTs1bCi XqgkYtPEuG/TV88492t9GJ8bUQYZQNf1pniRj/cTl8mOvroIUd3oLIES++mYQa1+rBijRxPov +wlXXmmfTV3hW1hg2x9/sLhuAeKAMHXnZzyQTdsR1ssw2kIAZTEsiNtQaC9XlQWUllCT0LKKr P66YUCrJsLNB0mwu+Mr4WOUj4O7Hq1rJToEUCRPyVt+WP0Eeo/IMBrfIMd68MxilZwTcwW3/6 /VS0ZksWMX3jjBAGUVM7wIJod/aA82oStGJFS/P17h1UJdkfM+ClMvXhXLx0kHniwd0Oce1/C Uyq/2m/3dxRj3tbyoeE3av7l0NDraP/qZSG3Hc3IBYIh5apyl6dn0IoFY38/4DEf+ozRLr0WO Rdp3STAf0hY6BzIVqDsBux75pJXgpOD9o6h4Y0VVgHK7qi/9iB2Ynw/LzZysPwKq6flpC7GzZ zota+zK archived-at: Sat, 03 Dec 2016 10:52:57 -0000 On 02.12.2016 17:55, Robert Scholte wrote: [...] > Concrete I see issues like below and can't find any references in Jira: > e.g. with groovy-all-2.4.7 I get the following exception: > > [INFO] Building: reportConfig\pom.xml > [INFO] run script verify.groovy > [INFO] ..FAILED (9.4 s) > [INFO] The post-build script did not succeed. No signature of method: > java.io.File.exists() is applicable for argument types: () values: [] > Possible solutions: print(java.lang.Object), write(java.lang.String), > print(java.io.PrintWriter), with(groovy.lang.Closure), > is(java.lang.Object), printf(java.lang.String, [Ljava.lang.Object;) 2.4.8 will have a fix for that. > I can see what the issue is (Groovy's File versus JRE File), and I'm > wondering what to expect: will this be fixed in Groovy, or do we have to > rewrite a huge amount of scripts? I really hope the first. Groovy's File is the JRE File. The problem is that with #AwkwardStrongEncapsulation they decided an exported class can have private method for which setAccessible won´t ever work. So the strategy Groovy used, which is using setAccessible(true) on the array of Method (gotten by reflection) cannot work anymore, which means we now have to do that an a per method base and blend-out those, we cannot gain access to using setAccessible. The fix for this is there and in the repository. All that is missing is a release. bye Jochen