You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/08/15 14:03:45 UTC

[jira] [Commented] (LUCENE-6740) Reduce warnings emitted by javac in Java 7/Java 8

    [ https://issues.apache.org/jira/browse/LUCENE-6740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14698245#comment-14698245 ] 

ASF subversion and git services commented on LUCENE-6740:
---------------------------------------------------------

Commit 1696039 from [~thetaphi] in branch 'dev/branches/lucene_solr_5_3'
[ https://svn.apache.org/r1696039 ]

Merged revision(s) 1696036 from lucene/dev/branches/branch_5x (because of inability to regenerate jflex autogenerated files):
Merged revision(s) 1696035 from lucene/dev/trunk:
LUCENE-6740: Reduce warnings emitted by javac
(I also had to fix the old, deprecated jflex grammars, because they got out of sync with java code)

> Reduce warnings emitted by javac in Java 7/Java 8
> -------------------------------------------------
>
>                 Key: LUCENE-6740
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6740
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>              Labels: Java7, Java8
>             Fix For: Trunk, 5.4
>
>
> This is a overview issue about improvements to reduce warnings during the build. Since we moved trunk to Java 8 and branch_5x to Java 7, there were introduced some additional warnings, mostly in generated code.
> ANTLR4 does automatically add the needed @SuppressWarnings, but jflex does not. There are also some rawtypes warnings, which changed in Java 7 (before Java 7 there were only "unsafe" warnings, now you need both.
> I enabled the Warnings tracker in Policeman Jenkins, we can therefore very easily check the warnings: e.g. on trunk: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/ (see diagram on the right), you can click on it, e.g. http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/warnings4



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org