From MAILER-DAEMON Mon Jul 02 12:28:48 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SljUW-0004ju-9r
	for mharc-bug-classpath@gnu.org; Mon, 02 Jul 2012 12:28:48 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41636)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1SljUP-0004jm-7W
	for bug-classpath@gnu.org; Mon, 02 Jul 2012 12:28:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1SljUN-0006Na-3l
	for bug-classpath@gnu.org; Mon, 02 Jul 2012 12:28:40 -0400
Received: from server1.sourceware.org ([209.132.180.131]:50603
	helo=sourceware.org) by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1SljUM-0006N2-Nz
	for bug-classpath@gnu.org; Mon, 02 Jul 2012 12:28:39 -0400
Comment: DKIM? See http://www.dkim.org
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed;
	d=gcc.gnu.org; s=default; x=1341851318; h=Comment:
	DomainKey-Signature:Received:Received:From:To:Subject:Date:
	Message-ID:In-Reply-To:References:Auto-Submitted:Content-Type:
	MIME-Version; bh=34YerE53FuZ3nnUWpJ3foA4DHk0=; b=AwTp1iI3saIgBno
	EFwwO16hdmsg2AgyK+xzP0E7FlC/r+2LxuDMWvPUKYPjgOl867BiW4nceQ3vwByu
	vkRuwzig5oOr/aKHBWXJXmrs1mUdneYhrWU6Ocd5FutH5uv6dhDYeEPK1ZP0LpZf
	FPjHahxazf2cHX2xzj4+bZU0O6KU=
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org;
	h=Received:X-SWARE-Spam-Status:X-Spam-Status:X-Spam-Check-By:Received:From:To:Subject:Date:X-Bugzilla-Reason:X-Bugzilla-Type:X-Bugzilla-Watch-Reason:X-Bugzilla-Product:X-Bugzilla-Component:X-Bugzilla-Keywords:X-Bugzilla-Severity:X-Bugzilla-Who:X-Bugzilla-Status:X-Bugzilla-Priority:X-Bugzilla-Assigned-To:X-Bugzilla-Target-Milestone:X-Bugzilla-Changed-Fields:Message-ID:In-Reply-To:References:X-Bugzilla-URL:Auto-Submitted:Content-Type:MIME-Version;
	b=inIimoRLpGipIytX9jtHBvAreC2C5/35BwOyXn+7ItgjqpW/Ha/NHxJGrgmyRp
	+0+ww8gxDRFAeg+0kBqmCMkpVUcXDTh4JjBPDSAI5SUOftrMocbxQbMmLmPgZWtt
	wpgljs4aj/Z2Zhr7b8cVz7U4CUdENdCwYb4ckFPYNz6aY=;
Received: (qmail 11104 invoked by uid 22791); 2 Jul 2012 16:28:33 -0000
X-SWARE-Spam-Status: No, hits=-4.3 required=5.0
	tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED,TW_GC
Received: from localhost (HELO gcc.gnu.org) (127.0.0.1)
	by sourceware.org (qpsmtpd/0.43rc1) with ESMTP;
	Mon, 02 Jul 2012 16:28:20 +0000
From: "gnu_andrew at member dot fsf.org" <gcc-bugzilla@gcc.gnu.org>
To: bug-classpath@gnu.org
Subject: [Bug classpath/44052] Performance problems with date formatting
Date: Mon, 02 Jul 2012 16:27:45 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: classpath
X-Bugzilla-Component: classpath
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gnu_andrew at member dot fsf.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: Status Resolution
Message-ID: <bug-44052-11049-rfHUvaAAlv@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-44052-11049@http.gcc.gnu.org/bugzilla/>
References: <bug-44052-11049@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.180.131
X-BeenThere: bug-classpath@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: gcc-bugzilla@gcc.gnu.org
List-Id: Bug reports for the GNU Classpath project <bug-classpath.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-classpath>
List-Post: <mailto:bug-classpath@gnu.org>
List-Help: <mailto:bug-classpath-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2012 16:28:47 -0000

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44052

Andrew John Hughes <gnu_andrew at member dot fsf.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Andrew John Hughes <gnu_andrew at member dot fsf.org> 2012-07-02 16:27:45 UTC ---
http://git.savannah.gnu.org/cgit/classpath.git/commit/?id=fafe5baa380e6e792ebb973e5a87199373409eb3
should fix it.

This simple test:

import java.util.Locale;
import java.text.DateFormatSymbols;

public class TestDFSPerf
{
  public static void main(String[] args)
  {
    for (int a = 0; a < 255; ++a)
      {
        new DateFormatSymbols(Locale.UK);
      }
  }
}

shows a notable increase.  With the new class:

$ time /home/andrew/build/cacao-jdk/bin/java TestDFSPerf

real    0m0.161s
user    0m0.148s
sys    0m0.012s

Using the old version taken from gcj 4.7:

$ time /home/andrew/build/cacao-jdk/bin/java -Xbootclasspath/p:tmp TestDFSPerf

real    0m4.005s
user    0m3.936s
sys    0m0.040s


From MAILER-DAEMON Mon Jul 02 12:31:58 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SljXa-0005PZ-PG
	for mharc-bug-classpath@gnu.org; Mon, 02 Jul 2012 12:31:58 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36624)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1SljXP-0005O2-PR
	for bug-classpath@gnu.org; Mon, 02 Jul 2012 12:31:57 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1SljXJ-0007lB-MP
	for bug-classpath@gnu.org; Mon, 02 Jul 2012 12:31:47 -0400
Received: from server1.sourceware.org ([209.132.180.131]:51954
	helo=sourceware.org) by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1SljXJ-0007kX-Al
	for bug-classpath@gnu.org; Mon, 02 Jul 2012 12:31:41 -0400
Comment: DKIM? See http://www.dkim.org
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed;
	d=gcc.gnu.org; s=default; x=1341851501; h=Comment:
	DomainKey-Signature:Received:Received:From:To:Subject:Date:
	Message-ID:In-Reply-To:References:Auto-Submitted:Content-Type:
	MIME-Version; bh=CfuOGOnKkTbNijlKTh8/OPGhQRA=; b=uJ9vMmeP7vBFh68
	8jAxFbsLupu2rDR741S5rKOi3D3K8eB28vaohg5BaJnd/qPADOsg/vo4/OYx9huS
	JVSDCPVWOeJtcgo8UWR2oW0rdfFtQu5T5pPHQeXMaIMaAqshxJQl2dbYaXxRLUc9
	f0xZpYtUifwGOEAMf2VA1g/psHqc=
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org;
	h=Received:X-SWARE-Spam-Status:X-Spam-Status:X-Spam-Check-By:Received:From:To:Subject:Date:X-Bugzilla-Reason:X-Bugzilla-Type:X-Bugzilla-Watch-Reason:X-Bugzilla-Product:X-Bugzilla-Component:X-Bugzilla-Keywords:X-Bugzilla-Severity:X-Bugzilla-Who:X-Bugzilla-Status:X-Bugzilla-Priority:X-Bugzilla-Assigned-To:X-Bugzilla-Target-Milestone:X-Bugzilla-Changed-Fields:Message-ID:In-Reply-To:References:X-Bugzilla-URL:Auto-Submitted:Content-Type:MIME-Version;
	b=XfsAwsA9AjCL/stoRvjP9OvKcQRslY37Z84Y0eGX1/UwtBX0bzP+X6b+qwOlY0
	RmLqE842KGN/l27doE0q9TZCA9qPJQyyxI3+0Veu8z0OxAKTY3N1jRpX3nDlbP5v
	aS+fDgCPRPl2xmoM93J/vBckL12uOkjVkpJjhmaCnL6jQ=;
Received: (qmail 13839 invoked by uid 22791); 2 Jul 2012 16:31:38 -0000
X-SWARE-Spam-Status: No, hits=-4.3 required=5.0
	tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED
Received: from localhost (HELO gcc.gnu.org) (127.0.0.1)
	by sourceware.org (qpsmtpd/0.43rc1) with ESMTP;
	Mon, 02 Jul 2012 16:31:26 +0000
From: "gnu_andrew at member dot fsf.org" <gcc-bugzilla@gcc.gnu.org>
To: bug-classpath@gnu.org
Subject: [Bug classpath/44052] Performance problems with date formatting
Date: Mon, 02 Jul 2012 16:31:00 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: classpath
X-Bugzilla-Component: classpath
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gnu_andrew at member dot fsf.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-44052-11049-aXxYDL8HoF@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-44052-11049@http.gcc.gnu.org/bugzilla/>
References: <bug-44052-11049@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.180.131
X-BeenThere: bug-classpath@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: gcc-bugzilla@gcc.gnu.org
List-Id: Bug reports for the GNU Classpath project <bug-classpath.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-classpath>
List-Post: <mailto:bug-classpath@gnu.org>
List-Help: <mailto:bug-classpath-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Jul 2012 16:31:57 -0000

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44052

--- Comment #4 from Andrew John Hughes <gnu_andrew at member dot fsf.org> 2012-07-02 16:31:00 UTC ---
Similar results by calling new java.util.Date().toString() instead:

With fix:

real    0m0.628s
user    0m0.148s
sys    0m0.032s

Without fix:

real    0m4.122s
user    0m4.060s
sys    0m0.072s


From MAILER-DAEMON Thu Jul 19 19:16:06 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1Srzx0-0006Xy-8q
	for mharc-bug-classpath@gnu.org; Thu, 19 Jul 2012 19:16:06 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41867)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1Srzwx-0006Wo-Nm
	for bug-classpath@gnu.org; Thu, 19 Jul 2012 19:16:04 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1Srzww-00081V-7R
	for bug-classpath@gnu.org; Thu, 19 Jul 2012 19:16:03 -0400
Received: from server1.sourceware.org ([209.132.180.131]:49103
	helo=sourceware.org) by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1Srzwv-00081P-Sv
	for bug-classpath@gnu.org; Thu, 19 Jul 2012 19:16:02 -0400
Comment: DKIM? See http://www.dkim.org
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed;
	d=gcc.gnu.org; s=default; x=1343344561; h=Comment:
	DomainKey-Signature:Received:Received:From:To:Subject:Date:
	Message-ID:Auto-Submitted:Content-Type:MIME-Version; bh=P9AB7HgV
	uLpqvhXsDqKpabyqpu8=; b=nidg7oJm1YwuYcfBTh9PSX+vQ54D03Slgta089h6
	DTmexizmxOEBfdddVduFqS1flMk9ZfLBC+KLxHjaBBb1DdEWq//KgHsnxL1l+4Gf
	Vg+2cpUFCF6cpfqB6CDBvPlxiHsiavUnLpjqOEaiYAKzTFVqWXZbaDiCtfeuVFMC
	sNE=
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org;
	h=Received:X-SWARE-Spam-Status:X-Spam-Status:X-Spam-Check-By:Received:From:To:Subject:Date:X-Bugzilla-Reason:X-Bugzilla-Type:X-Bugzilla-Watch-Reason:X-Bugzilla-Product:X-Bugzilla-Component:X-Bugzilla-Keywords:X-Bugzilla-Severity:X-Bugzilla-Who:X-Bugzilla-Status:X-Bugzilla-Priority:X-Bugzilla-Assigned-To:X-Bugzilla-Target-Milestone:X-Bugzilla-Changed-Fields:Message-ID:X-Bugzilla-URL:Auto-Submitted:Content-Type:MIME-Version;
	b=qQzSCpx4BN3eGbqVqcTJ9LjlKtZ8wyLssuLXjuRHtByKvoetRcSiEYPGvY8BvK
	6UZgwX+qtPt5KbcnUsdxig/2kVQWMYUPw/hEEE/yA+/wLdQPvSluvPzcrgiaM6Ye
	d9FU5BU53NZn8tA1C1eRQMP2Qtu70Q1pkqwimqTlj6lsY=;
Received: (qmail 6552 invoked by uid 22791); 19 Jul 2012 23:16:00 -0000
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0
	tests=ALL_TRUSTED,AWL,BAYES_00,TW_MV
Received: from localhost (HELO gcc.gnu.org) (127.0.0.1)
	by sourceware.org (qpsmtpd/0.43rc1) with ESMTP;
	Thu, 19 Jul 2012 23:15:45 +0000
From: "patrick.melo at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: bug-classpath@gnu.org
Subject: [Bug classpath/54039] New: DatagramSocket.receive should throw
	SocketException not IOException
Date: Thu, 19 Jul 2012 23:15:44 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: classpath
X-Bugzilla-Component: classpath
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: patrick.melo at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-54039-11049@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.180.131
X-BeenThere: bug-classpath@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: gcc-bugzilla@gcc.gnu.org
List-Id: Bug reports for the GNU Classpath project <bug-classpath.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-classpath>
List-Post: <mailto:bug-classpath@gnu.org>
List-Help: <mailto:bug-classpath-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jul 2012 23:16:04 -0000

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54039

             Bug #: 54039
           Summary: DatagramSocket.receive should throw SocketException
                    not IOException
    Classification: Unclassified
           Product: classpath
           Version: 0.98
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: patrick.melo@gmail.com


On my Mac, running the Oracle JRE, when I close a socket, the receive code
throws a SocketException. With classpath on my embedded device it throws an
IOException. 

I'm including the sample code along with output below.

Also if I omit the call to gc() the process just seems to hang instead of
exiting normally.

==Oracle JRE==
$ java Sample
Listening on port 9999
Closing connection.
java.net.SocketException: Socket closed
    at java.net.PlainDatagramSocketImpl.receive0(Native Method)
    at
java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:145)
    at java.net.DatagramSocket.receive(DatagramSocket.java:725)
    at Sample.run(Sample.java:25)

$ java -version
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
$ 

==classpath==
# jamvm Sample
Listening on port 9999
Closing connection.
java.io.IOException: invalid file descriptor
   at gnu.java.nio.VMChannel$State.getNativeFD(VMChannel.java:680)
   at gnu.java.nio.VMChannel.receive(VMChannel.java:214)
   at
gnu.java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:292)
   at java.net.DatagramSocket.receive(DatagramSocket.java:602)
   at Sample.run(Sample.java:25)

# jamvm -version
java version "1.5.0"
JamVM version 1.5.4
Copyright (C) 2003-2010 Robert Lougher <rob@jamvm.org.uk>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2,
or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Build information:

Execution Engine: direct-threaded interpreter with stack-caching
Compiled with: gcc 4.4.6

Boot Library Path: /usr/lib/classpath
Boot Class Path: /usr/share/jamvm/classes.zip:/usr/share/classpath/glibj.zip
#


From MAILER-DAEMON Fri Jul 20 17:08:03 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SsKQd-0004oV-EE
	for mharc-bug-classpath@gnu.org; Fri, 20 Jul 2012 17:08:03 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40107)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1SsKQJ-0004ng-HB
	for bug-classpath@gnu.org; Fri, 20 Jul 2012 17:08:01 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1SsKQD-0002zn-65
	for bug-classpath@gnu.org; Fri, 20 Jul 2012 17:07:43 -0400
Received: from server1.sourceware.org ([209.132.180.131]:37652
	helo=sourceware.org) by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1SsKQC-0002zd-RS
	for bug-classpath@gnu.org; Fri, 20 Jul 2012 17:07:37 -0400
Comment: DKIM? See http://www.dkim.org
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed;
	d=gcc.gnu.org; s=default; x=1343423256; h=Comment:
	DomainKey-Signature:Received:Received:From:To:Subject:Date:
	Message-ID:Auto-Submitted:Content-Type:MIME-Version; bh=Xd8rQivf
	aV2Ic5lWjC8Av6hCTWc=; b=ExvLtvopbY5oIOy4Vl2w96cGrkXAQDRonPEf6kq2
	hYBim6yZQH8O3iBXaopRbIItlp4pwhazBWjI5hGlokjPHtT/zUGDGJQp96bglq2l
	GEwNN0F4kCx8Wc2ytmgJTA1bLi77MP83ZfVRwVVtN7u9lTVydnfevBOlUdiuoHXT
	nFw=
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org;
	h=Received:X-SWARE-Spam-Status:X-Spam-Status:X-Spam-Check-By:Received:From:To:Subject:Date:X-Bugzilla-Reason:X-Bugzilla-Type:X-Bugzilla-Watch-Reason:X-Bugzilla-Product:X-Bugzilla-Component:X-Bugzilla-Keywords:X-Bugzilla-Severity:X-Bugzilla-Who:X-Bugzilla-Status:X-Bugzilla-Priority:X-Bugzilla-Assigned-To:X-Bugzilla-Target-Milestone:X-Bugzilla-Changed-Fields:Message-ID:X-Bugzilla-URL:Auto-Submitted:Content-Type:MIME-Version;
	b=odncp2jL/MOzVqQzSojJYkF9f1khqdHfKrzUCrZBbaePW/O8tKzJnZh0ru6NK0
	xhpFqekVoVQApNEawMU/qWjsGlu+yN6xVFrquGSVM72qfKH84Zf1PNjmYLB9qMnD
	MjlZaDZzlYAGu4GO0qlMMjdzWU61+YdW2XG8Uui6c/yqg=;
Received: (qmail 32167 invoked by uid 22791); 20 Jul 2012 21:07:35 -0000
X-SWARE-Spam-Status: No, hits=-3.5 required=5.0
	tests=ALL_TRUSTED,AWL,BAYES_00,TW_MV
Received: from localhost (HELO gcc.gnu.org) (127.0.0.1)
	by sourceware.org (qpsmtpd/0.43rc1) with ESMTP;
	Fri, 20 Jul 2012 21:07:22 +0000
From: "patrick.melo at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: bug-classpath@gnu.org
Subject: [Bug classpath/54057] New: call to javax.crypto.Mac.init() with 5
	character password produces java.security.InvalidKeyException: Key too
	short
Date: Fri, 20 Jul 2012 21:07:21 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: classpath
X-Bugzilla-Component: classpath
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: patrick.melo at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-54057-11049@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.180.131
X-BeenThere: bug-classpath@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: gcc-bugzilla@gcc.gnu.org
List-Id: Bug reports for the GNU Classpath project <bug-classpath.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-classpath>
List-Post: <mailto:bug-classpath@gnu.org>
List-Help: <mailto:bug-classpath-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2012 21:08:01 -0000

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54057

             Bug #: 54057
           Summary: call to javax.crypto.Mac.init() with 5 character
                    password produces java.security.InvalidKeyException:
                    Key too short
    Classification: Unclassified
           Product: classpath
           Version: 0.98
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: patrick.melo@gmail.com


On my Mac, running the Oracle JRE, when I call javax.crypto.Mac.init() with a 5
character password I get no complaints. With classpath on my embedded device it
throws a java.security.InvalidKeyException: Key too short. 

I'm including the sample code along with output below.

==Oracle JRE==
$ java KeySample
Done
$ java -version
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)
$ 

==classpath==
# jamvm KeySample
Exception in thread "main" java.security.InvalidKeyException: Key too short
   at gnu.javax.crypto.mac.HMac.init(HMac.java:148)
   at gnu.javax.crypto.jce.mac.MacAdapter.engineInit(MacAdapter.java:119)
   at javax.crypto.Mac.init(Mac.java:349)
   at javax.crypto.Mac.init(Mac.java:328)
   at KeySample.<init>(KeySample.java:14)
   at KeySample.main(KeySample.java:8)
# jamvm -version
java version "1.5.0"
JamVM version 1.5.4
Copyright (C) 2003-2010 Robert Lougher <rob@jamvm.org.uk>

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2,
or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Build information:

Execution Engine: direct-threaded interpreter with stack-caching
Compiled with: gcc 4.4.6

Boot Library Path: /usr/lib/classpath
Boot Class Path: /usr/share/jamvm/classes.zip:/usr/share/classpath/glibj.zip
#


From MAILER-DAEMON Fri Jul 20 17:09:25 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1SsKRx-00056r-61
	for mharc-bug-classpath@gnu.org; Fri, 20 Jul 2012 17:09:25 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40503)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1SsKRq-0004wi-7b
	for bug-classpath@gnu.org; Fri, 20 Jul 2012 17:09:23 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1SsKRl-0003Wy-NY
	for bug-classpath@gnu.org; Fri, 20 Jul 2012 17:09:18 -0400
Received: from server1.sourceware.org ([209.132.180.131]:37954
	helo=sourceware.org) by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1SsKRl-0003Wq-Em
	for bug-classpath@gnu.org; Fri, 20 Jul 2012 17:09:13 -0400
Comment: DKIM? See http://www.dkim.org
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed;
	d=gcc.gnu.org; s=default; x=1343423353; h=Comment:
	DomainKey-Signature:Received:Received:From:To:Subject:Date:
	Message-ID:In-Reply-To:References:Auto-Submitted:Content-Type:
	MIME-Version; bh=PyvwrxXud6pStg8erU6u4Bqf9BI=; b=DukDYe8udu93C8R
	7ksL+YPzfXFhmD5jwLiMzj4XZzp+ITmOWkp4f/GSOBamwlEruy+Tju2xKAX/GFG3
	eYlkIx8eF9jeLyM7ccvOy9HehwWh0jGOwYWGWvS76EOlP6FxJ//cA49PNYZQKKYi
	xdZ1JwUDTNqCLf+gPVYvLATXdOy4=
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org;
	h=Received:X-SWARE-Spam-Status:X-Spam-Status:X-Spam-Check-By:Received:From:To:Subject:Date:X-Bugzilla-Reason:X-Bugzilla-Type:X-Bugzilla-Watch-Reason:X-Bugzilla-Product:X-Bugzilla-Component:X-Bugzilla-Keywords:X-Bugzilla-Severity:X-Bugzilla-Who:X-Bugzilla-Status:X-Bugzilla-Priority:X-Bugzilla-Assigned-To:X-Bugzilla-Target-Milestone:X-Bugzilla-Changed-Fields:Message-ID:In-Reply-To:References:X-Bugzilla-URL:Auto-Submitted:Content-Type:MIME-Version;
	b=jCPuSvoAQNIXOCkFFgsyEE2YfJcZYj6OoWnBW6Q5G+8MzXdcROXKzKQimhLA+6
	GY7R3w184trqRWBNLjPdxF8kteC3BY5kJ3Y+KvVumUPO6qXrZLio9INPxPIzxqjU
	YTS7rmGHnO9RRJIeeiSjLIxnT7U+s39utXgYBSfIy9TXU=;
Received: (qmail 588 invoked by uid 22791); 20 Jul 2012 21:09:12 -0000
X-SWARE-Spam-Status: No, hits=-4.3 required=5.0
	tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED
Received: from localhost (HELO gcc.gnu.org) (127.0.0.1)
	by sourceware.org (qpsmtpd/0.43rc1) with ESMTP;
	Fri, 20 Jul 2012 21:09:00 +0000
From: "patrick.melo at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: bug-classpath@gnu.org
Subject: [Bug classpath/54057] call to javax.crypto.Mac.init() with 5
	character password produces java.security.InvalidKeyException: Key too
	short
Date: Fri, 20 Jul 2012 21:08:59 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: classpath
X-Bugzilla-Component: classpath
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: patrick.melo at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-54057-11049-ZB6q7jeKYJ@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54057-11049@http.gcc.gnu.org/bugzilla/>
References: <bug-54057-11049@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.180.131
X-BeenThere: bug-classpath@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: gcc-bugzilla@gcc.gnu.org
List-Id: Bug reports for the GNU Classpath project <bug-classpath.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-classpath>
List-Post: <mailto:bug-classpath@gnu.org>
List-Help: <mailto:bug-classpath-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Jul 2012 21:09:23 -0000

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54057

--- Comment #3 from Patrick <patrick.melo at gmail dot com> 2012-07-20 21:08:59 UTC ---
I attached a patch that fixes the problem for me.


From MAILER-DAEMON Mon Jul 23 10:54:12 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1StK1U-000857-PD
	for mharc-bug-classpath@gnu.org; Mon, 23 Jul 2012 10:54:12 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45790)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1StK1O-00084k-Cr
	for bug-classpath@gnu.org; Mon, 23 Jul 2012 10:54:12 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1StK1H-00076k-Nn
	for bug-classpath@gnu.org; Mon, 23 Jul 2012 10:54:06 -0400
Received: from server1.sourceware.org ([209.132.180.131]:41716
	helo=sourceware.org) by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1StK1H-00076S-FA
	for bug-classpath@gnu.org; Mon, 23 Jul 2012 10:53:59 -0400
Comment: DKIM? See http://www.dkim.org
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed;
	d=gcc.gnu.org; s=default; x=1343660039; h=Comment:
	DomainKey-Signature:Received:Received:From:To:Subject:Date:
	Message-ID:In-Reply-To:References:Auto-Submitted:Content-Type:
	MIME-Version; bh=EV58ddDKGLUDSyoBEeDPiB/zvLM=; b=EUiB+QHKj/UCMPJ
	jou7TF8gWyCvSFOOtWx4aZviCEN09qaCyyaRifsJ5qMIPEeR0Eq//et7ypwVsbZY
	VehfSQCRWkqLPDvKusObJt+WAxSLY0anjdIAYbkii6Wxt17Z5KRJeqnkTbantJYK
	T7KqrCfWjxK9SaoFsfxh3zKJDkWc=
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org;
	h=Received:X-SWARE-Spam-Status:X-Spam-Status:X-Spam-Check-By:Received:From:To:Subject:Date:X-Bugzilla-Reason:X-Bugzilla-Type:X-Bugzilla-Watch-Reason:X-Bugzilla-Product:X-Bugzilla-Component:X-Bugzilla-Keywords:X-Bugzilla-Severity:X-Bugzilla-Who:X-Bugzilla-Status:X-Bugzilla-Priority:X-Bugzilla-Assigned-To:X-Bugzilla-Target-Milestone:X-Bugzilla-Changed-Fields:Message-ID:In-Reply-To:References:X-Bugzilla-URL:Auto-Submitted:Content-Type:MIME-Version;
	b=WV5H+TVPVrVRrdEDaRVMXs9gxckZUsQ8LyunhJViEFR9ZA2ANcnPJHfMcUfqTS
	c42p8sEO+IDgjRJi8hCUA9ebMT9u4DRtYsRkzW4Q4ww6/B/LqZNYLyJNdFKZlU8b
	vsh6t7ompFoc0ONV8Q8RbNTw12j3Eqo5JqNqH6fas1ygQ=;
Received: (qmail 25581 invoked by uid 22791); 23 Jul 2012 14:53:57 -0000
X-SWARE-Spam-Status: No, hits=-4.3 required=5.0
	tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED
Received: from localhost (HELO gcc.gnu.org) (127.0.0.1)
	by sourceware.org (qpsmtpd/0.43rc1) with ESMTP;
	Mon, 23 Jul 2012 14:53:45 +0000
From: "gnu_andrew at member dot fsf.org" <gcc-bugzilla@gcc.gnu.org>
To: bug-classpath@gnu.org
Subject: [Bug classpath/54057] call to javax.crypto.Mac.init() with 5
	character password produces java.security.InvalidKeyException: Key too
	short
Date: Mon, 23 Jul 2012 14:53:30 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: classpath
X-Bugzilla-Component: classpath
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: gnu_andrew at member dot fsf.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: CC
Message-ID: <bug-54057-11049-EpYYC8P0OO@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54057-11049@http.gcc.gnu.org/bugzilla/>
References: <bug-54057-11049@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.180.131
X-BeenThere: bug-classpath@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: gcc-bugzilla@gcc.gnu.org
List-Id: Bug reports for the GNU Classpath project <bug-classpath.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-classpath>
List-Post: <mailto:bug-classpath@gnu.org>
List-Help: <mailto:bug-classpath-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2012 14:54:12 -0000

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54057

Andrew John Hughes <gnu_andrew at member dot fsf.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |gnu_andrew at member dot
                   |                            |fsf.org

--- Comment #4 from Andrew John Hughes <gnu_andrew at member dot fsf.org> 2012-07-23 14:53:30 UTC ---
Commenting the code out isn't a solution.

If you set the attribute gnu.crypto.hmac.pkcs5 to true, the test will be
skipped as you wish.


From MAILER-DAEMON Mon Jul 23 17:38:31 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1StQKl-0003AV-Fd
	for mharc-bug-classpath@gnu.org; Mon, 23 Jul 2012 17:38:31 -0400
Received: from eggs.gnu.org ([208.118.235.92]:36724)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1StQKj-0003AA-Da
	for bug-classpath@gnu.org; Mon, 23 Jul 2012 17:38:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1StQKi-0005jw-Bj
	for bug-classpath@gnu.org; Mon, 23 Jul 2012 17:38:29 -0400
Received: from server1.sourceware.org ([209.132.180.131]:49145
	helo=sourceware.org) by eggs.gnu.org with smtp (Exim 4.71)
	(envelope-from <gcc-bugzilla@gcc.gnu.org>) id 1StQKi-0005jp-10
	for bug-classpath@gnu.org; Mon, 23 Jul 2012 17:38:28 -0400
Comment: DKIM? See http://www.dkim.org
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed;
	d=gcc.gnu.org; s=default; x=1343684308; h=Comment:
	DomainKey-Signature:Received:Received:From:To:Subject:Date:
	Message-ID:In-Reply-To:References:Auto-Submitted:Content-Type:
	MIME-Version; bh=wP9bUYXWFn/zmX1GcurkenRte8Q=; b=Roy0ZYrO44FHgiG
	rDafkXT9Qv6aRyecFEfGT+Wo3018kInTEVj05uyFwWR6ahYDhjOyzsGbVl/ZwBbB
	R/scLFxOsFnKfesml3f65YQ49zZZd/4Sy+tl0EwEtjEfI+FlKa+ftCbSlmfMugVQ
	axoXJdmENU3qF6/ys8By4XYjEuRI=
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org;
	h=Received:X-SWARE-Spam-Status:X-Spam-Status:X-Spam-Check-By:Received:From:To:Subject:Date:X-Bugzilla-Reason:X-Bugzilla-Type:X-Bugzilla-Watch-Reason:X-Bugzilla-Product:X-Bugzilla-Component:X-Bugzilla-Keywords:X-Bugzilla-Severity:X-Bugzilla-Who:X-Bugzilla-Status:X-Bugzilla-Priority:X-Bugzilla-Assigned-To:X-Bugzilla-Target-Milestone:X-Bugzilla-Changed-Fields:Message-ID:In-Reply-To:References:X-Bugzilla-URL:Auto-Submitted:Content-Type:MIME-Version;
	b=JioAqsQpNRkJRYN7O66iftiMs3LScd8rIpwiYU5fGGYVPpsGqC45RML6ppNMud
	JlxHc+6zvxmGAR9uFNPsXHY43KuezDZvihCRQM87jphuve8qo/u1fvXL4IT3lCrS
	jGS4DGiuvrc39lr9kocH2mZ3mJxVuTBjjzynZUcNxyxYM=;
Received: (qmail 19192 invoked by uid 22791); 23 Jul 2012 21:38:27 -0000
X-SWARE-Spam-Status: No, hits=-4.3 required=5.0
	tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED
Received: from localhost (HELO gcc.gnu.org) (127.0.0.1)
	by sourceware.org (qpsmtpd/0.43rc1) with ESMTP;
	Mon, 23 Jul 2012 21:38:13 +0000
From: "patrick.melo at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: bug-classpath@gnu.org
Subject: [Bug classpath/54057] call to javax.crypto.Mac.init() with 5
	character password produces java.security.InvalidKeyException: Key too
	short
Date: Mon, 23 Jul 2012 21:38:00 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: classpath
X-Bugzilla-Component: classpath
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: normal
X-Bugzilla-Who: patrick.melo at gmail dot com
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Changed-Fields: 
Message-ID: <bug-54057-11049-JeAHRFXmI9@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-54057-11049@http.gcc.gnu.org/bugzilla/>
References: <bug-54057-11049@http.gcc.gnu.org/bugzilla/>
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
Content-Type: text/plain; charset="UTF-8"
MIME-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-Received-From: 209.132.180.131
X-BeenThere: bug-classpath@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: gcc-bugzilla@gcc.gnu.org
List-Id: Bug reports for the GNU Classpath project <bug-classpath.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/bug-classpath>
List-Post: <mailto:bug-classpath@gnu.org>
List-Help: <mailto:bug-classpath-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-classpath>,
	<mailto:bug-classpath-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jul 2012 21:38:30 -0000

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54057

--- Comment #5 from Patrick <patrick.melo at gmail dot com> 2012-07-23 21:38:00 UTC ---
The code calling Mac is part of a third party library. How do I set the
attribute you described?


