lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Furkan KAMACI (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LUCENE-3538) fix java7 warnings in the source code
Date Thu, 04 Apr 2013 15:35:17 GMT

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

Furkan KAMACI edited comment on LUCENE-3538 at 4/4/13 3:33 PM:
---------------------------------------------------------------

I use Java(TM) SE Runtime Environment (build 1.7.0_17-b02) ,Apache Ant(TM) version 1.9.0,
Apache Ivy 2.3.0 on Centos 6.4 64 bit Linux.

Everything is OK and there is no warning. These are the just things except for usual build
logs:

At ant compile step under lucene-solr folder, at ant compile step under lucene-solr/lucene
folder, at ant dist step under lucene-solr/lucene folder:

{code}
jflex-uptodate-check:

jflex-notice:
     [echo] 
     [echo]       One or more of the JFlex .jflex files is newer than its corresponding
     [echo]       .java file.  Run the "jflex" target to regenerate the artifacts.
     [echo]
{code}

The only warnings that I get at ant dist step under lucene-solr/lucene folder:

{code}
download-java6-javadoc-packagelist:
   [delete] Deleting: /home/kamaci/lucene-solr/lucene/build/docs/analyzers-kuromoji/stylesheet.css
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package org.apache.lucene.analysis.ja...
  [javadoc] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javadoc] Loading source files for package org.apache.lucene.analysis.ja.dict...
  [javadoc] Loading source files for package org.apache.lucene.analysis.ja.tokenattributes...
  [javadoc] Loading source files for package org.apache.lucene.analysis.ja.util...
  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.7.0_17
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Generating /home/kamaci/lucene-solr/lucene/build/docs/analyzers-kuromoji/help-doc.html...
  [javadoc] Note: Custom tags that were not seen:  @lucene.internal
  [javadoc] 1 warning
      [jar] Building jar: /home/kamaci/lucene-solr/lucene/build/analysis/kuromoji/lucene-analyzers-kuromoji-4.2.1-SNAPSHOT-javadoc.jar
     [echo] Building analyzers-morfologik...
{code}

and the other one:

{code}
download-java6-javadoc-packagelist:
   [delete] Deleting: /home/kamaci/lucene-solr/lucene/build/docs/analyzers-morfologik/stylesheet.css
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package org.apache.lucene.analysis.morfologik...
  [javadoc] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.7.0_17
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Generating /home/kamaci/lucene-solr/lucene/build/docs/analyzers-morfologik/help-doc.html...
  [javadoc] Note: Custom tags that were not seen:  @lucene.internal, @lucene.experimental
  [javadoc] 1 warning
      [jar] Building jar: /home/kamaci/lucene-solr/lucene/build/analysis/morfologik/lucene-analyzers-morfologik-4.2.1-SNAPSHOT-javadoc.jar
     [echo] Building analyzers-phonetic...
{code}

and all other warnings are same with below ones. 

I don't get any other warnings. This issue is created nearly two years ago. Is there anybody
who gets warning at compile step of project? Otherwise you can assign it to me.
                
      was (Author: kamaci):
    I use Java(TM) SE Runtime Environment (build 1.7.0_17-b02) ,Apache Ant(TM) version 1.9.0,
Apache Ivy 2.3.0 on Centos 6.4 64 bit Linux.

Everything is OK and there is no warning. These are the just things except for usual build
logs:

At ant compile step under lucene-solr folder, at ant compile step under lucene-solr/lucene
folder, at ant dist step under lucene-solr/lucene folder:

jflex-uptodate-check:

jflex-notice:
     [echo] 
     [echo]       One or more of the JFlex .jflex files is newer than its corresponding
     [echo]       .java file.  Run the "jflex" target to regenerate the artifacts.
     [echo]

The only warnings that I get at ant dist step under lucene-solr/lucene folder:

download-java6-javadoc-packagelist:
   [delete] Deleting: /home/kamaci/lucene-solr/lucene/build/docs/analyzers-kuromoji/stylesheet.css
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package org.apache.lucene.analysis.ja...
  [javadoc] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javadoc] Loading source files for package org.apache.lucene.analysis.ja.dict...
  [javadoc] Loading source files for package org.apache.lucene.analysis.ja.tokenattributes...
  [javadoc] Loading source files for package org.apache.lucene.analysis.ja.util...
  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.7.0_17
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Generating /home/kamaci/lucene-solr/lucene/build/docs/analyzers-kuromoji/help-doc.html...
  [javadoc] Note: Custom tags that were not seen:  @lucene.internal
  [javadoc] 1 warning
      [jar] Building jar: /home/kamaci/lucene-solr/lucene/build/analysis/kuromoji/lucene-analyzers-kuromoji-4.2.1-SNAPSHOT-javadoc.jar
     [echo] Building analyzers-morfologik...

and the other one:

download-java6-javadoc-packagelist:
   [delete] Deleting: /home/kamaci/lucene-solr/lucene/build/docs/analyzers-morfologik/stylesheet.css
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Loading source files for package org.apache.lucene.analysis.morfologik...
  [javadoc] warning: [options] bootstrap class path not set in conjunction with -source 1.6
  [javadoc] Constructing Javadoc information...
  [javadoc] Standard Doclet version 1.7.0_17
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...
  [javadoc] Generating /home/kamaci/lucene-solr/lucene/build/docs/analyzers-morfologik/help-doc.html...
  [javadoc] Note: Custom tags that were not seen:  @lucene.internal, @lucene.experimental
  [javadoc] 1 warning
      [jar] Building jar: /home/kamaci/lucene-solr/lucene/build/analysis/morfologik/lucene-analyzers-morfologik-4.2.1-SNAPSHOT-javadoc.jar
     [echo] Building analyzers-phonetic...


and all other warnings are same with below ones. 

I don't get any other warnings. This issue is created nearly two years ago. Is there anybody
who gets warning at compile step of project? Otherwise you can assign it to me.
                  
> fix java7 warnings in the source code
> -------------------------------------
>
>                 Key: LUCENE-3538
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3538
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>              Labels: newdev
>
> Now that oracle has fixed java7 bugs, I imagine some users will want to use it.
> Currently if you compile lucene's code with java7 you get a ton of warnings... lets clean
this up

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message