About Java 7 support
Freddy Mallet <[email protected]> Mon, 15 Aug 2011 17:57:51 +0200
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <CAPyGxijP=QgGVsKrRHufVpzNXq=0nBkLCRjKwm3gG8Tk-cE2JQ@mail.gmail.com> |
--===============1796246709933003214==
Content-Type: multipart/alternative; boundary=bcaec52e64af5138af04aa8d5343
--bcaec52e64af5138af04aa8d5343
Content-Type: text/plain; charset=UTF-8
Hi Oliver,
We would be happy to contribute to the support of java 7 [1]. Upgrading the
current Antlr grammar should not be too complex (even if not simple) in
order to support new java language enhancements :
- Strings in switch statements
- try-with-resources statements
- improved type inference for generic instance creation ("diamond")
- better integral literals
- and improved exception handling (multi-catch)
In ticket 3328367 [1], you mention the option to fully rewrite the Antlr
grammar instead of simply updating the existing one. In few words, could you
explain what would be the advantages of this solution and why you seem to
prefer this second solution ?
Thanks
Freddy
[1] -
http://sourceforge.net/tracker/?func=detail&aid=3328367&group_id=29721&atid=397078you
seem to be
----------------------------------------
Freddy Mallet
www.SonarSource.org
www.SonarSource.com
----------------------------------------
--bcaec52e64af5138af04aa8d5343
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi Oliver,<div><br></div><div>We would be happy to contribute to the suppor=
t of java 7 [1]. Upgrading the current Antlr grammar should not be too comp=
lex (even if not simple) in order to support new java language enhancements=
:=C2=A0</div>
<div><div><ul><li>Strings in switch statements</li><li>try-with-resources s=
tatements</li><li>improved type inference for generic instance creation (&q=
uot;diamond")</li><li>better integral literals</li><li>and improved ex=
ception handling (multi-catch)</li>
</ul></div></div><div>In ticket=C2=A03328367 [1], you mention the option to=
fully rewrite the Antlr grammar instead of simply updating the existing on=
e. In few words, could you explain what would be the advantages of this sol=
ution and why you seem to prefer this second solution ?</div>
<div><br></div><div>Thanks</div><div>Freddy</div><div><br></div><div>[1] - =
<a href=3D"http://sourceforge.net/tracker/?func=3Ddetail&aid=3D3328367&=
amp;group_id=3D29721&atid=3D397078">http://sourceforge.net/tracker/?fun=
c=3Ddetail&aid=3D3328367&group_id=3D29721&atid=3D397078</a> you=
seem to be=C2=A0<br clear=3D"all">
----------------------------------------<br>Freddy Mallet<br><a href=3D"htt=
p://www.SonarSource.org" target=3D"_blank">www.SonarSource.org</a><br><a hr=
ef=3D"http://www.SonarSource.com" target=3D"_blank">www.SonarSource.com</a>=
<br>
----------------------------------------<br>
</div>
--bcaec52e64af5138af04aa8d5343--
--===============1796246709933003214==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
--===============1796246709933003214==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user
--===============1796246709933003214==--