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 45D85200CA6 for ; Tue, 13 Jun 2017 16:24:25 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 44418160BDC; Tue, 13 Jun 2017 14:24:25 +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 6326F160BC9 for ; Tue, 13 Jun 2017 16:24:24 +0200 (CEST) Received: (qmail 57860 invoked by uid 500); 13 Jun 2017 14:24:23 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 57849 invoked by uid 99); 13 Jun 2017 14:24:23 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jun 2017 14:24:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 23D65C05B0 for ; Tue, 13 Jun 2017 14:24:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.793 X-Spam-Level: *** X-Spam-Status: No, score=3.793 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=asert-com-au.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 2cRs3jxd2gmL for ; Tue, 13 Jun 2017 14:24:20 +0000 (UTC) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 615955F523 for ; Tue, 13 Jun 2017 14:24:18 +0000 (UTC) Received: by mail-oi0-f45.google.com with SMTP id b6so19362565oia.1 for ; Tue, 13 Jun 2017 07:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=asert-com-au.20150623.gappssmtp.com; s=20150623; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to; bh=Lwy01/UVu95no+MHdaW2RLIecOF11M404s59ITH7p/4=; b=vQjfUuwgbnp/dqPoi8diwQiUbNBlmQUugLZLR7eBrJOkAOnWLWAr50Si8Ia0pHWWRX 4EGIIE3Q5QWYDPEI1oCL4d2EXKUDH8PIB/JlYqQBjABRrDfTE4Kpcr0r+ziLiQIkT/NI 0uElS/JT/95Yhrgg5O/4TiatdYpDTTNN9+5bGLn1j15dpwQfrB37RNZL38/0ZgnnOA65 WbRhPwNfrtooK+k5rnU9OUP/omZRCVTZFBbVItZ1QvuOw2ZTLL2sTrVhJ+8zEUY7gkES RJWzGK+TpDmZ/rSk8Y7xfYq2OUwvn+Oh2Gmq2HW6r/OSJi7LhSo1Iaz88kh1zr8CvGb0 HaJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to; bh=Lwy01/UVu95no+MHdaW2RLIecOF11M404s59ITH7p/4=; b=ThEDLXWmSZuylbOG3N/o1TL805Cb36b7zbIlCB/tJLXcL5lAaQirZskCvRDsEM5fH/ oLx17xqdGx0Z5aSXCTgiQ75lpgy/hYjsOnCkHqqVO+Fh45kVhMDpIfikvmZg8LN6+54V 5/5frBNuN+6NkHVdeTy7j7N3dBMjrtbE2dNMgvAtZpsp6Ic2UY5gMUasqS0SE6MYn/Vt K5IOu2oqTJFiwhEmUlBgflRhaKKi4OdlzXGLjKJEepUytLUjsekIj4F8zBAbYUP6mV7Y k+hsVrAbwlK1F4KEosyuuZd4RV3IQSsUQZKNMEF/foPn3YyFemSJdPvZ4Ws1oe1fTLlL rjow== X-Gm-Message-State: AKS2vOycAegD9N76lZPw0yfL3UzDJp9ZgKJ9UWdpfCaaay7i7OPni/gv /1T6myNPIdYVeG2dHxT8d0AG4bB6bp7V X-Received: by 10.202.3.135 with SMTP id 129mr57450oid.160.1497363856390; Tue, 13 Jun 2017 07:24:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.130.84 with HTTP; Tue, 13 Jun 2017 07:24:15 -0700 (PDT) Reply-To: paulk@asert.com.au In-Reply-To: <1497360523082-5741627.post@n5.nabble.com> References: <1497285254549-5741591.post@n5.nabble.com> <1497360523082-5741627.post@n5.nabble.com> From: Paul King Date: Wed, 14 Jun 2017 00:24:15 +1000 Message-ID: Subject: Re: JSR 308 support for Groovy To: users@groovy.apache.org Content-Type: multipart/alternative; boundary="001a113b967ec291270551d8304a" archived-at: Tue, 13 Jun 2017 14:24:25 -0000 --001a113b967ec291270551d8304a Content-Type: text/plain; charset="UTF-8" Hi Daniel, I think the majority of Groovy users have in their mind that Groovy is just like Java, only better. :-) So, initially we should aim to be the same as Java. Depending on what we discover during experimenting/implementation, we might alter that plan. We might stop short if there are things we think are extremely unlikely to be used in Groovy or particularly hard to do. We might also go further if we find an interesting extension but it would have to make sense for Groovy and not cause potential incompatibilities with Java. Any changes from Java would always be mailing list discussion material anyway. Cheers, Paul. On Tue, Jun 13, 2017 at 11:28 PM, Daniel Sun wrote: > Hi Paul, > > I'm reading an article on JSR308, which is really useful. > http://www.oracle.com/technetwork/articles/java/ > ma14-architect-annotations-2177655.html > > In addition, I've already created a branch > jsr308(https://github.com/danielsun1106/groovy-parser/tree/jsr308) to > experiment the grammar. Before working on it, I want to confirm whether > Groovy will support JSR308 fully. > > P.S. The following code is quite strange for me ;-) > Forecast @Readonly [] fiveDay = new Forecast @Readonly [5]; > > Cheers, > Daniel.Sun > > > > -- > View this message in context: http://groovy.329449.n5. > nabble.com/JSR-308-support-for-Groovy-tp5741586p5741627.html > Sent from the Groovy Users mailing list archive at Nabble.com. > --001a113b967ec291270551d8304a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Daniel,

I think the majority of Groo= vy users have in their mind that Groovy is just like Java, only better. :-)= So, initially we should aim to be the same as Java.

Depending on what we discover during experimenting/implementation, we mi= ght alter that plan. We might stop short if there are things we think are e= xtremely unlikely to be used in Groovy or particularly hard to do. We might= also go further if we find an interesting extension but it would have to m= ake sense for Groovy and not cause potential incompatibilities with Java. A= ny changes from Java would always be mailing list discussion material anywa= y.

Cheers, Paul.


On Tue, Jun 13, 2017 at = 11:28 PM, Daniel Sun <realbluesun@hotmail.com> wrote:<= br>
Hi Paul,

=C2=A0 =C2=A0 =C2=A0 =C2=A0I'm reading an article on JSR308, which is r= eally useful.
http://www.or= acle.com/technetwork/articles/java/ma14-architect-annotations-2177655.html

=C2=A0 =C2=A0 =C2=A0 =C2=A0In addition, I've already created a branch jsr308(https://github.com/danielsun11= 06/groovy-parser/tree/jsr308) to
experiment the grammar.=C2=A0 Before working on it, I want to confirm wheth= er
Groovy will support JSR308 fully.

P.S. The following code is quite strange for me ;-)
Forecast @Readonly [] fiveDay =3D new Forecast @Readonly [5];

Cheers,
Daniel.Sun



--
View this message in context: http://groovy.329449.n5.nabble.com/JSR-308-support-= for-Groovy-tp5741586p5741627.html
Sent from the Groovy Users mailing = list archive at Nabble.com.

--001a113b967ec291270551d8304a--