Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 99C1FF5E1 for ; Thu, 4 Apr 2013 15:35:19 +0000 (UTC) Received: (qmail 79379 invoked by uid 500); 4 Apr 2013 15:35:18 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 79304 invoked by uid 500); 4 Apr 2013 15:35:18 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 78976 invoked by uid 99); 4 Apr 2013 15:35:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Apr 2013 15:35:17 +0000 Date: Thu, 4 Apr 2013 15:35:17 +0000 (UTC) From: "Furkan KAMACI (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (LUCENE-3538) fix java7 warnings in the source code MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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