Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 79793 invoked from network); 20 Oct 2006 15:51:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Oct 2006 15:51:35 -0000 Received: (qmail 16489 invoked by uid 500); 20 Oct 2006 15:51:34 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 16447 invoked by uid 500); 20 Oct 2006 15:51:33 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 16426 invoked by uid 99); 20 Oct 2006 15:51:33 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 08:51:33 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Oct 2006 08:51:33 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C06BE71431D for ; Fri, 20 Oct 2006 08:50:36 -0700 (PDT) Message-ID: <25144397.1161359436785.JavaMail.jira@brutus> Date: Fri, 20 Oct 2006 08:50:36 -0700 (PDT) From: "Mark Hindess (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Resolved: (HARMONY-1926) [build] A lot of "never used" and "never read" warning messages In-Reply-To: <20204914.1161325474968.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-1926?page=all ] Mark Hindess resolved HARMONY-1926. ----------------------------------- Resolution: Fixed Thanks Denis. I've applied the two patches in r466153/4. Let me know if they look okay. And feel free to attach more or let me know if you want to close this one and raise separate JIRA for further similar issues. > [build] A lot of "never used" and "never read" warning messages > --------------------------------------------------------------- > > Key: HARMONY-1926 > URL: http://issues.apache.org/jira/browse/HARMONY-1926 > Project: Harmony > Issue Type: Bug > Components: build - test - ci > Reporter: Denis Kishenko > Assigned To: Mark Hindess > Attachments: HARMONY-1926-WARNINGS-never used.patch, HARMONY-1926-WARNINGS-SUID.patch > > > Build log has a lot of "never used" and "never read" warning messages like these > [javac] 4. WARNING in C:\Work\Projects\Harmony-last\modules\concurrent\standard\src\main\java\java\util\concurrent\ArrayBlockingQueue.java > [javac] (at line 552) > [javac] int sz = count; > [javac] ^^ > [javac] The local variable sz is never read > last\modules\concurrent\standard\src\main\java\java\util\concurrent\ConcurrentHashMap.java > [javac] (at line 26) > [javac] import java.io.ObjectInputStream; > [javac] ^^^^^^^^^^^^^^^^^^^^^^^^^ > [javac] The import java.io.ObjectInputStream is never used -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira