<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1524</id>
	<title>Nabble - Gnu - Classpath</title>
	<updated>2009-12-14T03:03:38Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnu---Classpath-f1524.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnu---Classpath-f1524.html" />
	<subtitle type="html">GNU Classpath, Essential Libraries for Java, is a GNU project to create free core class libraries for use with virtual machines and compilers for the java programming language. Gnu - Classpath home is &lt;a href=&quot;http://www.gnu.org/software/classpath/classpath.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26776045</id>
	<title>New mpc on builder (Was: [cp-testresults] FAIL: gcc build on Mon Dec 14 10:06:45 UTC 2009)</title>
	<published>2009-12-14T03:03:38Z</published>
	<updated>2009-12-14T03:03:38Z</updated>
	<author>
		<name>Mark Wielaard</name>
	</author>
	<content type="html">On Mon, 2009-12-14 at 10:06 +0000, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26776045&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cpdev@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; checking for the correct version of mpc.h... no
&lt;br&gt;&amp;gt; configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.2+ and MPC 0.8.0+.
&lt;br&gt;&amp;gt; Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
&lt;br&gt;&amp;gt; their locations. &amp;nbsp;Source code for these libraries can be found at
&lt;br&gt;&amp;gt; their respective hosting sites as well as at
&lt;br&gt;&amp;gt; ftp://gcc.gnu.org/pub/gcc/infrastructure/. &amp;nbsp;See also
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://gcc.gnu.org/install/prerequisites.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gcc.gnu.org/install/prerequisites.html&lt;/a&gt;&amp;nbsp;for additional info. &amp;nbsp;If
&lt;br&gt;&amp;gt; you obtained GMP, MPFR and/or MPC from a vendor distribution package,
&lt;br&gt;&amp;gt; make sure that you have installed both the libraries and the header
&lt;br&gt;&amp;gt; files. &amp;nbsp;They may be located in separate packages.
&lt;/div&gt;&lt;br&gt;Which wasn't available for Debian etch (4.0 - yes, I know, builder
&lt;br&gt;should really be upgraded...). Installed now by hand in /usr/local.
&lt;br&gt;Sorry for the inconvenience.
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;&lt;br&gt;Mark
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/New-mpc-on-builder-%28Was%3A--cp-testresults--FAIL%3A-gcc-build-on-Mon-Dec-14-10%3A06%3A45-UTC-2009%29-tp26776045p26776045.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26757461</id>
	<title>[PATCH] StrictMath: Correct the description of atan()</title>
	<published>2009-12-10T18:11:22Z</published>
	<updated>2009-12-10T18:11:22Z</updated>
	<author>
		<name>Maciej W. Rozycki</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;On Fri, 11 Dec 2009, Maciej W. Rozycki wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;nbsp;Noticed in and taken from GCC sources, but present in the current head of 
&lt;br&gt;&amp;gt; the classpath tree (0.99-pre) too. &amp;nbsp;This should be obvious -- the 
&lt;br&gt;&amp;gt; description of the atan() method incorrectly refers to &amp;quot;arcsin&amp;quot; rather 
&lt;br&gt;&amp;gt; than &amp;quot;arctan&amp;quot;. &amp;nbsp;Fixed thus.
&lt;br&gt;&lt;br&gt;&amp;nbsp;There's more to fix; please use the following patch instead.
&lt;br&gt;&lt;br&gt;2009-12-11 &amp;nbsp;Maciej W. Rozycki &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26757461&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;macro@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * java/lang/StrictMath.java (atan): Correct description.
&lt;br&gt;&lt;br&gt;&amp;nbsp;Please apply,
&lt;br&gt;&lt;br&gt;&amp;nbsp; Maciej
&lt;br&gt;&lt;br&gt;classpath-0.98-20091211-atan.patch
&lt;br&gt;Index: java/lang/StrictMath.java
&lt;br&gt;===================================================================
&lt;br&gt;--- java/lang/StrictMath.java	(revision 155148)
&lt;br&gt;+++ java/lang/StrictMath.java	(working copy)
&lt;br&gt;@@ -478,12 +478,12 @@ public final strictfp class StrictMath
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;/**
&lt;br&gt;- &amp;nbsp; * The trigonometric function &amp;lt;em&amp;gt;arcsin&amp;lt;/em&amp;gt;. The range of angles returned
&lt;br&gt;+ &amp;nbsp; * The trigonometric function &amp;lt;em&amp;gt;arctan&amp;lt;/em&amp;gt;. The range of angles returned
&lt;br&gt;&amp;nbsp; &amp;nbsp; * is -pi/2 to pi/2 radians (-90 to 90 degrees). If the argument is NaN, the
&lt;br&gt;&amp;nbsp; &amp;nbsp; * result is NaN; and the arctangent of 0 retains its sign.
&lt;br&gt;&amp;nbsp; &amp;nbsp; *
&lt;br&gt;&amp;nbsp; &amp;nbsp; * @param x the tan to turn back into an angle
&lt;br&gt;- &amp;nbsp; * @return arcsin(x)
&lt;br&gt;+ &amp;nbsp; * @return arctan(x)
&lt;br&gt;&amp;nbsp; &amp;nbsp; * @see #atan2(double, double)
&lt;br&gt;&amp;nbsp; &amp;nbsp; */
&lt;br&gt;&amp;nbsp; &amp;nbsp;public static double atan(double x)
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---Patches-f1527.html&quot; embed=&quot;fixTarget[1527]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--StrictMath%3A-Correct-the-description-of-atan%28%29-tp26757460p26757461.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26757460</id>
	<title>[PATCH] StrictMath: Correct the description of atan()</title>
	<published>2009-12-10T18:03:28Z</published>
	<updated>2009-12-10T18:03:28Z</updated>
	<author>
		<name>Maciej W. Rozycki</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;&amp;nbsp;Noticed in and taken from GCC sources, but present in the current head of 
&lt;br&gt;the classpath tree (0.99-pre) too. &amp;nbsp;This should be obvious -- the 
&lt;br&gt;description of the atan() method incorrectly refers to &amp;quot;arcsin&amp;quot; rather 
&lt;br&gt;than &amp;quot;arctan&amp;quot;. &amp;nbsp;Fixed thus.
&lt;br&gt;&lt;br&gt;2009-12-11 &amp;nbsp;Maciej W. Rozycki &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26757460&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;macro@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * java/lang/StrictMath.java (atan): Correct description.
&lt;br&gt;&lt;br&gt;&amp;nbsp;Please apply,
&lt;br&gt;&lt;br&gt;&amp;nbsp; Maciej
&lt;br&gt;&lt;br&gt;classpath-0.98-20091211-atan.patch
&lt;br&gt;Index: java/lang/StrictMath.java
&lt;br&gt;===================================================================
&lt;br&gt;--- java/lang/StrictMath.java	(revision 155148)
&lt;br&gt;+++ java/lang/StrictMath.java	(working copy)
&lt;br&gt;@@ -478,7 +478,7 @@ public final strictfp class StrictMath
&lt;br&gt;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp;/**
&lt;br&gt;- &amp;nbsp; * The trigonometric function &amp;lt;em&amp;gt;arcsin&amp;lt;/em&amp;gt;. The range of angles returned
&lt;br&gt;+ &amp;nbsp; * The trigonometric function &amp;lt;em&amp;gt;arctan&amp;lt;/em&amp;gt;. The range of angles returned
&lt;br&gt;&amp;nbsp; &amp;nbsp; * is -pi/2 to pi/2 radians (-90 to 90 degrees). If the argument is NaN, the
&lt;br&gt;&amp;nbsp; &amp;nbsp; * result is NaN; and the arctangent of 0 retains its sign.
&lt;br&gt;&amp;nbsp; &amp;nbsp; *
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---Patches-f1527.html&quot; embed=&quot;fixTarget[1527]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-PATCH--StrictMath%3A-Correct-the-description-of-atan%28%29-tp26757460p26757460.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26706313</id>
	<title>Re: Re: classpathx-javamail Digest, Vol 44, Issue 3</title>
	<published>2009-12-08T23:45:03Z</published>
	<updated>2009-12-08T23:45:03Z</updated>
	<author>
		<name>Chris Burdess-2</name>
	</author>
	<content type="html">Dhaval Yoganandi wrote:
&lt;br&gt;&amp;gt; Thanks for the update. May I know when the next stable version would be available?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Sorry but I don't have a schedule for that.
&lt;br&gt;-- 
&lt;br&gt;Chris Burdess
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-classpathx-javamail-Digest%2C-Vol-44%2C-Issue-3-tp26705447p26706313.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26705447</id>
	<title>Re: classpathx-javamail Digest, Vol 44, Issue 3</title>
	<published>2009-12-08T21:38:02Z</published>
	<updated>2009-12-08T21:38:02Z</updated>
	<author>
		<name>Dhaval Yoganandi</name>
	</author>
	<content type="html">&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26705447&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;classpathx-javamail-request@...&lt;/a&gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Send classpathx-javamail mailing list submissions to
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26705447&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;classpathx-javamail@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; To subscribe or unsubscribe via the World Wide Web, visit
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/classpathx-javamail&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/classpathx-javamail&lt;/a&gt;&lt;br&gt;&amp;gt; or, via email, send a message with subject or body 'help' to
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26705447&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;classpathx-javamail-request@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; You can reach the person managing the list at
&lt;br&gt;&amp;gt; 	&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26705447&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;classpathx-javamail-owner@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; When replying, please edit your Subject line so it is more specific
&lt;br&gt;&amp;gt; than &amp;quot;Re: Contents of classpathx-javamail digest...&amp;quot;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Today's Topics:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;1. Re: Exception while sending mail through GNU	JavaMail API.
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; (Chris Burdess)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Message: 1
&lt;br&gt;&amp;gt; Date: Tue, 8 Dec 2009 11:29:30 +0000
&lt;br&gt;&amp;gt; From: Chris Burdess &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26705447&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dog@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Subject: Re: [Classpathx-javamail] Exception while sending mail
&lt;br&gt;&amp;gt; 	through GNU	JavaMail API.
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26705447&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;classpathx-javamail@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Message-ID: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26705447&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;722BA005-61FE-4BF0-ACB5-17CFEA34E8E2@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Content-Type: text/plain; charset=us-ascii
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Dhaval Yoganandi wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;InputStream source = *new* FileInputStream(file);|
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MimeMessage mimeMessage = *new* MimeMessage(mailSession,source);|
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mimeMessage.setHeader(&amp;quot;Content-Type&amp;quot;, &amp;quot;multipart/mixed&amp;quot;);|
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Transport./send/(mimeMessage);|
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; and I am getting following exception while sending the mail. The code is working fine with sun JVM and the javamail (not GNU javamail) library.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This bug is now fixed in CVS HEAD.
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;Hello Chris,
&lt;br&gt;&lt;br&gt;Thanks for the update. May I know when the next stable version would be 
&lt;br&gt;available?
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Thanks and Regards,
&lt;br&gt;&lt;br&gt;Dhaval Yoganandi,
&lt;br&gt;Jr. Software Engineer,
&lt;br&gt;Elitecore Technologies Ltd.
&lt;br&gt;Cyberoam.
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-classpathx-javamail-Digest%2C-Vol-44%2C-Issue-3-tp26705447p26705447.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26692493</id>
	<title>Re: Exception while sending mail through GNU JavaMail API.</title>
	<published>2009-12-08T03:29:30Z</published>
	<updated>2009-12-08T03:29:30Z</updated>
	<author>
		<name>Chris Burdess-2</name>
	</author>
	<content type="html">Dhaval Yoganandi wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;InputStream source = *new* FileInputStream(file);|
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MimeMessage mimeMessage = *new* MimeMessage(mailSession,source);|
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mimeMessage.setHeader(&amp;quot;Content-Type&amp;quot;, &amp;quot;multipart/mixed&amp;quot;);|
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; | &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Transport./send/(mimeMessage);|
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; and I am getting following exception while sending the mail. The code is working fine with sun JVM and the javamail (not GNU javamail) library.
&lt;/div&gt;&lt;br&gt;This bug is now fixed in CVS HEAD.
&lt;br&gt;-- 
&lt;br&gt;Chris Burdess
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Exception-while-sending-mail-through-GNU-JavaMail-API.-tp26674341p26692493.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26674341</id>
	<title>Exception while sending mail through GNU JavaMail API.</title>
	<published>2009-12-07T00:54:09Z</published>
	<updated>2009-12-07T00:54:09Z</updated>
	<author>
		<name>Dhaval Yoganandi</name>
	</author>
	<content type="html">Hello gnu javamail team,
&lt;br&gt;&lt;br&gt;I've one problem while sending mail using gnu javamail library. Here is 
&lt;br&gt;what I'm using.
&lt;br&gt;&lt;br&gt;I'm using JamVm (a third party java virtual machine) with GNU Classpath 
&lt;br&gt;0.98. And I'm also using GNU javamail 1.1.2 library compiled with 
&lt;br&gt;dependent GNU libraries. Now, I've written a code to send the stored EML 
&lt;br&gt;files on the disk to the recipient. See the following code.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |Authenticator authenticator=||*null*;|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MailcapCommandMap mc = 
&lt;br&gt;(MailcapCommandMap)CommandMap./getDefaultCommandMap/();|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;CommandMap./setDefaultCommandMap/(mc); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Properties mailProperties = *new* Properties(); &amp;nbsp; |
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mailProperties.put(MailConstants./MAILSMTPHOST/, 
&lt;br&gt;mailServerHost);|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mailProperties.put(MailConstants./MAILSMTPPORT/, 
&lt;br&gt;mailServerPort);|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mailProperties.put(MailConstants./MAILDEBUG/, 
&lt;br&gt;MailConstants./VALUETRUE/);|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;mailProperties.put(MailConstants./MAILTRANSPORTPROTOCOL/, 
&lt;br&gt;MailConstants./TRANSPORTPROTOCOLSMTP/); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mailProperties.put(MailConstants./MAILSMTPAUTH/, 
&lt;br&gt;&amp;quot;false&amp;quot;);|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mailProperties.put(MailConstants./MAILDEBUG/, 
&lt;br&gt;MailConstants./VALUETRUE/);|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Session mailSession = 
&lt;br&gt;Session./getInstance/(mailProperties, authenticator);|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;InputStream source = *new* FileInputStream(file);|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MimeMessage mimeMessage = *new* 
&lt;br&gt;MimeMessage(mailSession,source);|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mimeMessage.setHeader(&amp;quot;Content-Type&amp;quot;, 
&lt;br&gt;&amp;quot;multipart/mixed&amp;quot;);|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Address[] fromAddrsss = *new* Address[1];|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Address[] toAddress = *new* Address[1];|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;fromAddrsss[0] = *new* InternetAddress(mailFrom);|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;toAddress[0] = *new* 
&lt;br&gt;InternetAddress(mailTo); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mimeMessage.addFrom(fromAddrsss);|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mimeMessage.setRecipients(Message.RecipientType./TO/, 
&lt;br&gt;toAddress);|
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;mimeMessage.setSubject(strSubject); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |
&lt;br&gt;&lt;br&gt;| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Transport./send/(mimeMessage);|
&lt;br&gt;&lt;br&gt;&lt;br&gt;and I am getting following exception while sending the mail. The code is 
&lt;br&gt;working fine with sun JVM and the javamail (not GNU javamail) library.
&lt;br&gt;&lt;br&gt;Exception is
&lt;br&gt;&lt;br&gt;Exception while sending Mail java.lang.ClassCastException 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://java.sun.com/javase/6/docs/api/java/lang/ClassCastException.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://java.sun.com/javase/6/docs/api/java/lang/ClassCastException.html&lt;/a&gt;&amp;gt;: 
&lt;br&gt;java/io/ByteArrayInputStreamjava.lang.ClassCastException: 
&lt;br&gt;java/io/ByteArrayInputStream
&lt;br&gt;&lt;br&gt;at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1866)
&lt;br&gt;&lt;br&gt;at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1843)
&lt;br&gt;&lt;br&gt;at javax.mail.Transport.send(Transport.java:74)
&lt;br&gt;&lt;br&gt;at my.utilities.SendUtility.sendMail(SendUtility.java:199)
&lt;br&gt;&lt;br&gt;at my.utilities.SendUtility.handleReleaseRequest(SendUtility.java:70)
&lt;br&gt;&lt;br&gt;at my.servlets.MyServlet.doPost(MyServlet..java:129)
&lt;br&gt;&lt;br&gt;at javax.servlet.http.HttpServlet.service(HttpServlet.java:638)
&lt;br&gt;&lt;br&gt;at javax.servlet.http.HttpServlet.service(HttpServlet.java:720)
&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:145) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
&lt;br&gt;&lt;br&gt;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:139) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
&lt;br&gt;&lt;br&gt;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2460)
&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:119) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
&lt;br&gt;&lt;br&gt;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596) 
&lt;br&gt;&lt;br&gt;&lt;br&gt;at 
&lt;br&gt;org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
&lt;br&gt;&lt;br&gt;at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:955)
&lt;br&gt;&lt;br&gt;at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:410)
&lt;br&gt;&lt;br&gt;at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:529)
&lt;br&gt;&lt;br&gt;at java.lang.Thread.run(Thread.java:745)
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Thanks and Regards,
&lt;br&gt;&lt;br&gt;Dhaval Yoganandi,
&lt;br&gt;Jr. Software Engineer,
&lt;br&gt;Elitecore Technologies Ltd.
&lt;br&gt;Cyberoam.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Exception-while-sending-mail-through-GNU-JavaMail-API.-tp26674341p26674341.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26612954</id>
	<title>Re: netif.h present but unusable on Mac</title>
	<published>2009-12-02T09:31:46Z</published>
	<updated>2009-12-02T09:31:46Z</updated>
	<author>
		<name>gnu_andrew</name>
	</author>
	<content type="html">2009/11/22 Richard O'Keefe &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26612954&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ok@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The host is an Intel Core 2 Duo processor running Mac OS X version 10.5.7
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I downloaded the JikesRVM version 3.1.0 and having checked that
&lt;br&gt;&amp;gt; ia32-osx was supported set out to build it.  The manual says that
&lt;br&gt;&amp;gt; it needs GNU Classpath, and that I should download and install
&lt;br&gt;&amp;gt; that by doing ant -f build/components/classpath.xml, which I did.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     [exec] checking ifaddrs.h usability... yes
&lt;br&gt;&amp;gt;     [exec] checking ifaddrs.h presence... yes
&lt;br&gt;&amp;gt;     [exec] checking for ifaddrs.h... yes
&lt;br&gt;&amp;gt;     [exec] checking netinet/in_systm.h usability... yes
&lt;br&gt;&amp;gt;     [exec] checking netinet/in_systm.h presence... yes
&lt;br&gt;&amp;gt;     [exec] checking for netinet/in_systm.h... yes
&lt;br&gt;&amp;gt;     [exec] checking netinet/ip.h usability... yes
&lt;br&gt;&amp;gt;     [exec] checking netinet/ip.h presence... yes
&lt;br&gt;&amp;gt;     [exec] checking for netinet/ip.h... yes
&lt;br&gt;&amp;gt;     [exec] checking net/if.h usability... no
&lt;br&gt;&amp;gt;     [exec] checking net/if.h presence... yes
&lt;br&gt;&amp;gt;     [exec] configure: WARNING: net/if.h: present but cannot be compiled
&lt;br&gt;&amp;gt;     [exec] configure: WARNING: net/if.h:     check for missing prerequisite
&lt;br&gt;&amp;gt; headers?
&lt;br&gt;&amp;gt;     [exec] configure: WARNING: net/if.h: see the Autoconf documentation
&lt;br&gt;&amp;gt;     [exec] configure: WARNING: net/if.h:     section &amp;quot;Present But Cannot Be
&lt;br&gt;&amp;gt; Compiled&amp;quot;
&lt;br&gt;&amp;gt;     [exec] configure: WARNING: net/if.h: proceeding with the preprocessor's
&lt;br&gt;&amp;gt; result
&lt;br&gt;&amp;gt;     [exec] configure: WARNING: net/if.h: in the future, the compiler will
&lt;br&gt;&amp;gt; take precedence
&lt;br&gt;&amp;gt;     [exec] configure: WARNING:     ## -------------------------------- ##
&lt;br&gt;&amp;gt;     [exec] configure: WARNING:     ## Report this to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26612954&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;classpath@...&lt;/a&gt; ##
&lt;br&gt;&amp;gt;     [exec] configure: WARNING:     ## -------------------------------- ##
&lt;br&gt;&amp;gt;     [exec] checking for net/if.h... yes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There was a further problem later down where the Ant script said
&lt;br&gt;&amp;gt;     [exec] configure: error: The Java compiler
&lt;br&gt;&amp;gt; /home/cshome/o/ok/Desktop/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj
&lt;br&gt;&amp;gt; failed (see config.log, check the CLASSPATH?)
&lt;br&gt;&amp;gt;     [exec] checking if
&lt;br&gt;&amp;gt; /home/cshome/o/ok/Desktop/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj
&lt;br&gt;&amp;gt; works...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Since ...components/ecj doesn't exist, it's not surprising that it
&lt;br&gt;&amp;gt; doesn't &amp;quot;work&amp;quot;.  This leads me to suspect a problem with the Ant
&lt;br&gt;&amp;gt; script.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;As your mail concerns JikesRVM, I'm including the main JikesRVM list
&lt;br&gt;in this discussion (see &lt;a href=&quot;http://jikesrvm.org/Mailing+Lists&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://jikesrvm.org/Mailing+Lists&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;My first suggestion would be that you try running the main build.xml
&lt;br&gt;in the root of the RVM tree by invoking 'ant' from that directory.
&lt;br&gt;You will need to set host.name to the desired value from build/hosts,
&lt;br&gt;ia32-osx in your case, so use 'ant -Dhost.name=ia32-osx'. &amp;nbsp;Invoking
&lt;br&gt;the Classpath sub-build separately, as you do above, will mean that
&lt;br&gt;any prerequisites for it are not being built.
&lt;br&gt;-- 
&lt;br&gt;Andrew :-)
&lt;br&gt;&lt;br&gt;Free Java Software Engineer
&lt;br&gt;Red Hat, Inc. (&lt;a href=&quot;http://www.redhat.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.redhat.com&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Support Free Java!
&lt;br&gt;Contribute to GNU Classpath and the OpenJDK
&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/classpath&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/classpath&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://openjdk.java.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://openjdk.java.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;PGP Key: 94EFD9D8 (&lt;a href=&quot;http://subkeys.pgp.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://subkeys.pgp.net&lt;/a&gt;)
&lt;br&gt;Fingerprint: F8EF F1EA 401E 2E60 15FA &amp;nbsp;7927 142C 2591 94EF D9D8
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/netif.h-present-but-unusable-on-Mac-tp26509802p26612954.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26605608</id>
	<title>Re: Re: Bug in 1.1.2: Folder.search() alters Folder.mode (works with 1.1.1)</title>
	<published>2009-12-02T00:58:48Z</published>
	<updated>2009-12-02T00:58:48Z</updated>
	<author>
		<name>Chris Burdess-2</name>
	</author>
	<content type="html">Hi Boris,
&lt;br&gt;&lt;br&gt;Is that patch working for you?
&lt;br&gt;-- 
&lt;br&gt;Chris Burdess
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-1.1.2%3A-Folder.search%28%29-alters-Folder.mode-%28works-with-1.1.1%29-tp26309608p26605608.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26699893</id>
	<title>FOSDEM devroom request accepted</title>
	<published>2009-12-01T05:46:06Z</published>
	<updated>2009-12-01T05:46:06Z</updated>
	<author>
		<name>Dalibor Topic-5</name>
	</author>
	<content type="html">alibor Topic wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt; I expect to hear back from the FOSDEM devroom team whether the 
&lt;br&gt;&amp;gt; &amp;gt; request was accepted (or denied) sometime next week, according to 
&lt;br&gt;&amp;gt; &amp;gt; the published schedule. [3] &amp;nbsp;
&lt;br&gt;&lt;br&gt;Here's what the FOSDEM devroom team e-mailed me today:
&lt;br&gt;&lt;br&gt;&amp;quot;Your request for a devroom at FOSDEM 2010 has been accepted, and we will
&lt;br&gt;put the following at your disposal:
&lt;br&gt;- room AW1.125 with 76 seats,
&lt;br&gt;- a video projector with VGA cable,
&lt;br&gt;- wireless internet,
&lt;br&gt;for 2 days:
&lt;br&gt;- on Saturday 6th February from 13:00 to 19:00
&lt;br&gt;&amp;nbsp; and
&lt;br&gt;- on Sunday 7th February from 09:00 to 17:00
&lt;br&gt;[...]&amp;quot;
&lt;br&gt;&lt;br&gt;Yay!
&lt;br&gt;&lt;br&gt;OK, with that out of the way, it's same procedure as every year:
&lt;br&gt;&lt;br&gt;* there is a wiki page with the basic information:
&lt;br&gt;&lt;a href=&quot;http://wiki.debian.org/Java/DevJam/2010/Fosdem&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.debian.org/Java/DevJam/2010/Fosdem&lt;/a&gt;&lt;br&gt;&lt;br&gt;* there is a wiki page where talk proposals go:
&lt;br&gt;&lt;a href=&quot;http://wiki.debian.org/Java/DevJam/2010/FosdemProposedTalks&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://wiki.debian.org/Java/DevJam/2010/FosdemProposedTalks&lt;/a&gt;&lt;br&gt;&lt;br&gt;Talk slots are either for 15 or 30 minutes. Like in the past years, 
&lt;br&gt;we'll group related talks into blocks, in order to allow for some 
&lt;br&gt;breaks between blocks of sessions. You can submit more then one 
&lt;br&gt;proposal if you wish. If we run out of slots (happened a couple of 
&lt;br&gt;times in previous years), not all submissions will get picked - so 
&lt;br&gt;please try to make your submission sound like a great pick.
&lt;br&gt;&lt;br&gt;The call for submissions runs for four weeks until Sunday, January 
&lt;br&gt;3rd 2010. You'll know if your talk was picked by January 6th, 2010. 
&lt;br&gt;&lt;br&gt;cheers,
&lt;br&gt;dalibor topic
&lt;br&gt;-- 
&lt;br&gt;*******************************************************************
&lt;br&gt;Dalibor Topic &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Tel: (+49 40) 23 646 738
&lt;br&gt;Java F/OSS Ambassador &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; AIM: robiladonaim
&lt;br&gt;Sun Microsystems GmbH &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Mobile: (+49 177) 2664 192
&lt;br&gt;Nagelsweg 55 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://openjdk.java.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://openjdk.java.net&lt;/a&gt;&lt;br&gt;D-20097 Hamburg &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26699893&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Dalibor.Topic@...&lt;/a&gt;
&lt;br&gt;Sitz der Gesellschaft: Sonnenallee 1, D-85551 Kirchheim-Heimstetten
&lt;br&gt;Amtsgericht München: HRB 161028
&lt;br&gt;Geschäftsführer: Thomas Schröder, Wolfgang Engels, Wolf Frenkel
&lt;br&gt;Vorsitzender des Aufsichtsrates: Martin Häring
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/FOSDEM-devroom-request-accepted-tp26699893p26699893.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26544652</id>
	<title>Re: Re: UnsupportedEncodingException for unicode-1-1-utf-7</title>
	<published>2009-11-27T08:26:16Z</published>
	<updated>2009-11-27T08:26:16Z</updated>
	<author>
		<name>Chris Burdess-2</name>
	</author>
	<content type="html">Boris Folgmann wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Chris,
&lt;br&gt;&amp;gt; Chris Burdess schrieb/wrote:
&lt;br&gt;&amp;gt;&amp;gt; UTF7 is supported, however I have never heard of anything being
&lt;br&gt;&amp;gt;&amp;gt; identified as &amp;quot;unicode-1-1-utf-7&amp;quot;. Do you have a copy of the original
&lt;br&gt;&amp;gt;&amp;gt; message to hand?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Cite from &lt;a href=&quot;http://www.faqs.org/rfcs/rfc1642.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.faqs.org/rfcs/rfc1642.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;br&gt;&amp;gt; Use of Character Set UTF-7 Within MIME
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; Character set UTF-7 is safe for mail transmission and therefore may
&lt;br&gt;&amp;gt; &amp;nbsp; be used with any content transfer encoding in MIME (except where line
&lt;br&gt;&amp;gt; &amp;nbsp; length and line break restrictions are violated). Specifically, the 7
&lt;br&gt;&amp;gt; &amp;nbsp; bit encoding for bodies and the Q encoding for headers are both
&lt;br&gt;&amp;gt; &amp;nbsp; acceptable. The MIME character set identifier is UNICODE-1-1-UTF-7.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Example. Here is a text portion of a MIME message containing the
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unicode sequence &amp;quot;Hi Mom &amp;lt;WHITE SMILING FACE&amp;gt;!&amp;quot; (hexadecimal 0048,
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;0069, 0020, 004D, 006F, 004D, 0020, 263A, 0021).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Content-Type: text/plain; charset=UNICODE-1-1-UTF-7
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;Hi Mom +Jjo-!
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt; -------------------------------------------------------------------------
&lt;/div&gt;&lt;br&gt;Ah, my bad. UTF7 is only supported at the IMAP protocol level, not at the MIME encoding level. If you're interested in developing this functionality, the class gnu.inet.imap.UTF7imap may be helpful.
&lt;br&gt;-- 
&lt;br&gt;Chris Burdess
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/UnsupportedEncodingException-for-unicode-1-1-utf-7-tp26541993p26544652.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26544512</id>
	<title>Re: UnsupportedEncodingException for unicode-1-1-utf-7</title>
	<published>2009-11-27T08:16:00Z</published>
	<updated>2009-11-27T08:16:00Z</updated>
	<author>
		<name>Boris Folgmann</name>
	</author>
	<content type="html">Hi Chris,
&lt;br&gt;&lt;br&gt;Chris Burdess schrieb/wrote:
&lt;br&gt;&amp;gt; UTF7 is supported, however I have never heard of anything being
&lt;br&gt;&amp;gt; identified as &amp;quot;unicode-1-1-utf-7&amp;quot;. Do you have a copy of the original
&lt;br&gt;&amp;gt; message to hand?
&lt;br&gt;&lt;br&gt;Cite from &lt;a href=&quot;http://www.faqs.org/rfcs/rfc1642.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.faqs.org/rfcs/rfc1642.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Use of Character Set UTF-7 Within MIME
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; Character set UTF-7 is safe for mail transmission and therefore may
&lt;br&gt;&amp;nbsp; &amp;nbsp; be used with any content transfer encoding in MIME (except where line
&lt;br&gt;&amp;nbsp; &amp;nbsp; length and line break restrictions are violated). Specifically, the 7
&lt;br&gt;&amp;nbsp; &amp;nbsp; bit encoding for bodies and the Q encoding for headers are both
&lt;br&gt;&amp;nbsp; &amp;nbsp; acceptable. The MIME character set identifier is UNICODE-1-1-UTF-7.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Example. Here is a text portion of a MIME message containing the
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Unicode sequence &amp;quot;Hi Mom &amp;lt;WHITE SMILING FACE&amp;gt;!&amp;quot; (hexadecimal 0048,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0069, 0020, 004D, 006F, 004D, 0020, 263A, 0021).
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Content-Type: text/plain; charset=UNICODE-1-1-UTF-7
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Hi Mom +Jjo-!
&lt;br&gt;[...]
&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;cu,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boris
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/UnsupportedEncodingException-for-unicode-1-1-utf-7-tp26541993p26544512.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26543148</id>
	<title>Re: UnsupportedEncodingException for unicode-1-1-utf-7</title>
	<published>2009-11-27T06:28:22Z</published>
	<updated>2009-11-27T06:28:22Z</updated>
	<author>
		<name>Chris Burdess-2</name>
	</author>
	<content type="html">Boris Folgmann wrote:
&lt;br&gt;&amp;gt; I get this exception when parsing an email:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; java.io.UnsupportedEncodingException: unicode-1-1-utf-7	at sun.io.Converters.getConverterClass(Converters.java:218)	at sun.io.Converters.newConverter(Converters.java:251)	at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:68)	at sun.nio.cs.StreamDecoder$ConverterSD.&amp;lt;init&amp;gt;(StreamDecoder.java:224)	at sun.nio.cs.StreamDecoder$ConverterSD.&amp;lt;init&amp;gt;(StreamDecoder.java:210)	at sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:77)	at java.io.InputStreamReader.&amp;lt;init&amp;gt;(InputStreamReader.java:83)	at gnu.mail.handler.Text.getContent(Text.java:106)	at javax.activationDataSourceDataContentHandler.getContent(DataHandler.java:803) at javax.activation.DataHandler.getContent(DataHandler.java:550)	at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:691)	at gnu.mail.providers.imap.IMAPBodyPart.getContent(IMAPBodyPart.java:282)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The encoding might be unsupported by JavaSE 5.0, but as it is a common encoding of emails, as you can read in RFC1642 (UTF-7 - A Mail-Safe Transformation Format of Unicode), I don't see why javamail shouldn't support it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Is it possible to implement a dirty work-around like forcing the BodyPart's encoding to US-ASCII before calling getContent()? I couldn't find a suitable method.
&lt;br&gt;&lt;br&gt;UTF7 is supported, however I have never heard of anything being identified as &amp;quot;unicode-1-1-utf-7&amp;quot;. Do you have a copy of the original message to hand?
&lt;br&gt;-- 
&lt;br&gt;Chris Burdess
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/UnsupportedEncodingException-for-unicode-1-1-utf-7-tp26541993p26543148.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26541993</id>
	<title>UnsupportedEncodingException for unicode-1-1-utf-7</title>
	<published>2009-11-27T04:38:22Z</published>
	<updated>2009-11-27T04:38:22Z</updated>
	<author>
		<name>Boris Folgmann</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I get this exception when parsing an email:
&lt;br&gt;&lt;br&gt;java.io.UnsupportedEncodingException: unicode-1-1-utf-7	at 
&lt;br&gt;sun.io.Converters.getConverterClass(Converters.java:218)	at 
&lt;br&gt;sun.io.Converters.newConverter(Converters.java:251)	at 
&lt;br&gt;sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:68)	at 
&lt;br&gt;sun.nio.cs.StreamDecoder$ConverterSD.&amp;lt;init&amp;gt;(StreamDecoder.java:224)	at 
&lt;br&gt;sun.nio.cs.StreamDecoder$ConverterSD.&amp;lt;init&amp;gt;(StreamDecoder.java:210)	at 
&lt;br&gt;sun.nio.cs.StreamDecoder.forInputStreamReader(StreamDecoder.java:77)	at 
&lt;br&gt;java.io.InputStreamReader.&amp;lt;init&amp;gt;(InputStreamReader.java:83)	at 
&lt;br&gt;gnu.mail.handler.Text.getContent(Text.java:106)	at 
&lt;br&gt;javax.activationDataSourceDataContentHandler.getContent(DataHandler.java:803) 
&lt;br&gt;at javax.activation.DataHandler.getContent(DataHandler.java:550)	at 
&lt;br&gt;javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:691)	at 
&lt;br&gt;gnu.mail.providers.imap.IMAPBodyPart.getContent(IMAPBodyPart.java:282)
&lt;br&gt;&lt;br&gt;The encoding might be unsupported by JavaSE 5.0, but as it is a common 
&lt;br&gt;encoding of emails, as you can read in RFC1642 (UTF-7 - A Mail-Safe 
&lt;br&gt;Transformation Format of Unicode), I don't see why javamail shouldn't 
&lt;br&gt;support it.
&lt;br&gt;&lt;br&gt;Is it possible to implement a dirty work-around like forcing the BodyPart's 
&lt;br&gt;encoding to US-ASCII before calling getContent()? I couldn't find a 
&lt;br&gt;suitable method.
&lt;br&gt;&lt;br&gt;cu,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boris
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/UnsupportedEncodingException-for-unicode-1-1-utf-7-tp26541993p26541993.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26526095</id>
	<title>Re: Possible bug in gnu.inet.util.BASE64</title>
	<published>2009-11-26T00:40:53Z</published>
	<updated>2009-11-26T00:40:53Z</updated>
	<author>
		<name>Chris Burdess-2</name>
	</author>
	<content type="html">Jorge Barreiro wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I've found what seems to be a bug in the gnu.inet.util.BASE64 class: The 
&lt;br&gt;&amp;gt; encoding function never appends the '=' padding characters. I sent this mail 
&lt;br&gt;&amp;gt; first because there's some code in the class dealing with this, but it's 
&lt;br&gt;&amp;gt; commented, so I don't know if this is intentional. In addition, that library 
&lt;br&gt;&amp;gt; wasn't updated in years. Is it deprecated? Is there any alternative?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; This class is used in the gnu javax.mail implementation, and is preventing me 
&lt;br&gt;&amp;gt; from authenticating with a server.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; If you confirm me that the padding characters should be there and this is a 
&lt;br&gt;&amp;gt; bug, I can make and send you a patch.
&lt;/div&gt;&lt;br&gt;I'm pretty sure this was an old bug that was fixed a while ago. Check that you're using the most up-to-date release.
&lt;br&gt;&lt;br&gt;If it's still not working, please feel free to send me a patch against CVS HEAD.
&lt;br&gt;-- 
&lt;br&gt;Chris Burdess
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Classpath-inetlib mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26526095&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Classpath-inetlib@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/classpath-inetlib&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/classpath-inetlib&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---Inetlib-f1526.html&quot; embed=&quot;fixTarget[1526]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - Inetlib&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Possible-bug-in-gnu.inet.util.BASE64-tp26510007p26526095.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516746</id>
	<title>Re: netif.h present but unusable on Mac</title>
	<published>2009-11-25T09:19:38Z</published>
	<updated>2009-11-25T09:19:38Z</updated>
	<author>
		<name>Ian Rogers (nabble)</name>
	</author>
	<content type="html">Hi Richard,
&lt;br&gt;&lt;br&gt;Jikes RVM is using an older version of Classpath than what is current.
&lt;br&gt;MRP [1] (derived from Jikes RVM) uses the latest GNU Classpath. You
&lt;br&gt;may want to try this as an alternative, although currently you'll need
&lt;br&gt;to download MRP using git.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Ian
&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://mrp.codehaus.org/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mrp.codehaus.org/&lt;/a&gt;&lt;br&gt;&lt;br&gt;2009/11/22 Richard O'Keefe &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516746&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;ok@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The host is an Intel Core 2 Duo processor running Mac OS X version 10.5.7
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I downloaded the JikesRVM version 3.1.0 and having checked that
&lt;br&gt;&amp;gt; ia32-osx was supported set out to build it.  The manual says that
&lt;br&gt;&amp;gt; it needs GNU Classpath, and that I should download and install
&lt;br&gt;&amp;gt; that by doing ant -f build/components/classpath.xml, which I did.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     [exec] checking ifaddrs.h usability... yes
&lt;br&gt;&amp;gt;     [exec] checking ifaddrs.h presence... yes
&lt;br&gt;&amp;gt;     [exec] checking for ifaddrs.h... yes
&lt;br&gt;&amp;gt;     [exec] checking netinet/in_systm.h usability... yes
&lt;br&gt;&amp;gt;     [exec] checking netinet/in_systm.h presence... yes
&lt;br&gt;&amp;gt;     [exec] checking for netinet/in_systm.h... yes
&lt;br&gt;&amp;gt;     [exec] checking netinet/ip.h usability... yes
&lt;br&gt;&amp;gt;     [exec] checking netinet/ip.h presence... yes
&lt;br&gt;&amp;gt;     [exec] checking for netinet/ip.h... yes
&lt;br&gt;&amp;gt;     [exec] checking net/if.h usability... no
&lt;br&gt;&amp;gt;     [exec] checking net/if.h presence... yes
&lt;br&gt;&amp;gt;     [exec] configure: WARNING: net/if.h: present but cannot be compiled
&lt;br&gt;&amp;gt;     [exec] configure: WARNING: net/if.h:     check for missing prerequisite
&lt;br&gt;&amp;gt; headers?
&lt;br&gt;&amp;gt;     [exec] configure: WARNING: net/if.h: see the Autoconf documentation
&lt;br&gt;&amp;gt;     [exec] configure: WARNING: net/if.h:     section &amp;quot;Present But Cannot Be
&lt;br&gt;&amp;gt; Compiled&amp;quot;
&lt;br&gt;&amp;gt;     [exec] configure: WARNING: net/if.h: proceeding with the preprocessor's
&lt;br&gt;&amp;gt; result
&lt;br&gt;&amp;gt;     [exec] configure: WARNING: net/if.h: in the future, the compiler will
&lt;br&gt;&amp;gt; take precedence
&lt;br&gt;&amp;gt;     [exec] configure: WARNING:     ## -------------------------------- ##
&lt;br&gt;&amp;gt;     [exec] configure: WARNING:     ## Report this to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516746&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;classpath@...&lt;/a&gt; ##
&lt;br&gt;&amp;gt;     [exec] configure: WARNING:     ## -------------------------------- ##
&lt;br&gt;&amp;gt;     [exec] checking for net/if.h... yes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; There was a further problem later down where the Ant script said
&lt;br&gt;&amp;gt;     [exec] configure: error: The Java compiler
&lt;br&gt;&amp;gt; /home/cshome/o/ok/Desktop/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj
&lt;br&gt;&amp;gt; failed (see config.log, check the CLASSPATH?)
&lt;br&gt;&amp;gt;     [exec] checking if
&lt;br&gt;&amp;gt; /home/cshome/o/ok/Desktop/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj
&lt;br&gt;&amp;gt; works...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Since ...components/ecj doesn't exist, it's not surprising that it
&lt;br&gt;&amp;gt; doesn't &amp;quot;work&amp;quot;.  This leads me to suspect a problem with the Ant
&lt;br&gt;&amp;gt; script.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/netif.h-present-but-unusable-on-Mac-tp26509802p26516746.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26510007</id>
	<title>Possible bug in gnu.inet.util.BASE64</title>
	<published>2009-11-25T01:50:50Z</published>
	<updated>2009-11-25T01:50:50Z</updated>
	<author>
		<name>Jorge Barreiro</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;I've found what seems to be a bug in the gnu.inet.util.BASE64 class: The 
&lt;br&gt;encoding function never appends the '=' padding characters. I sent this mail 
&lt;br&gt;first because there's some code in the class dealing with this, but it's 
&lt;br&gt;commented, so I don't know if this is intentional. In addition, that library 
&lt;br&gt;wasn't updated in years. Is it deprecated? Is there any alternative?
&lt;br&gt;&lt;br&gt;This class is used in the gnu javax.mail implementation, and is preventing me 
&lt;br&gt;from authenticating with a server.
&lt;br&gt;&lt;br&gt;If you confirm me that the padding characters should be there and this is a 
&lt;br&gt;bug, I can make and send you a patch.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Classpath-inetlib mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26510007&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Classpath-inetlib@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/classpath-inetlib&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/classpath-inetlib&lt;/a&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---Inetlib-f1526.html&quot; embed=&quot;fixTarget[1526]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - Inetlib&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Possible-bug-in-gnu.inet.util.BASE64-tp26510007p26510007.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26509802</id>
	<title>netif.h present but unusable on Mac</title>
	<published>2009-11-22T13:35:27Z</published>
	<updated>2009-11-22T13:35:27Z</updated>
	<author>
		<name>Richard O'Keefe</name>
	</author>
	<content type="html">The host is an Intel Core 2 Duo processor running Mac OS X version &amp;nbsp;
&lt;br&gt;10.5.7
&lt;br&gt;&lt;br&gt;I downloaded the JikesRVM version 3.1.0 and having checked that
&lt;br&gt;ia32-osx was supported set out to build it. &amp;nbsp;The manual says that
&lt;br&gt;it needs GNU Classpath, and that I should download and install
&lt;br&gt;that by doing ant -f build/components/classpath.xml, which I did.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking ifaddrs.h usability... yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking ifaddrs.h presence... yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking for ifaddrs.h... yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking netinet/in_systm.h usability... yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking netinet/in_systm.h presence... yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking for netinet/in_systm.h... yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking netinet/ip.h usability... yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking netinet/ip.h presence... yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking for netinet/ip.h... yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking net/if.h usability... no
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking net/if.h presence... yes
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] configure: WARNING: net/if.h: present but cannot be &amp;nbsp;
&lt;br&gt;compiled
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] configure: WARNING: net/if.h: &amp;nbsp; &amp;nbsp; check for missing &amp;nbsp;
&lt;br&gt;prerequisite headers?
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] configure: WARNING: net/if.h: see the Autoconf &amp;nbsp;
&lt;br&gt;documentation
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] configure: WARNING: net/if.h: &amp;nbsp; &amp;nbsp; section &amp;quot;Present But &amp;nbsp;
&lt;br&gt;Cannot Be Compiled&amp;quot;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] configure: WARNING: net/if.h: proceeding with the &amp;nbsp;
&lt;br&gt;preprocessor's result
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] configure: WARNING: net/if.h: in the future, the compiler &amp;nbsp;
&lt;br&gt;will take precedence
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] configure: WARNING: &amp;nbsp; &amp;nbsp; ## &amp;nbsp;
&lt;br&gt;-------------------------------- ##
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] configure: WARNING: &amp;nbsp; &amp;nbsp; ## Report this to &amp;nbsp;
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26509802&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;classpath@...&lt;/a&gt; ##
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] configure: WARNING: &amp;nbsp; &amp;nbsp; ## &amp;nbsp;
&lt;br&gt;-------------------------------- ##
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking for net/if.h... yes
&lt;br&gt;&lt;br&gt;There was a further problem later down where the Ant script said
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] configure: error: The Java compiler /home/cshome/o/ok/ 
&lt;br&gt;Desktop/jikesrvm-3.1.0/components/ecj/3.2/ecj-3.2/ecj failed (see &amp;nbsp;
&lt;br&gt;config.log, check the CLASSPATH?)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; [exec] checking if /home/cshome/o/ok/Desktop/jikesrvm-3.1.0/ 
&lt;br&gt;components/ecj/3.2/ecj-3.2/ecj works...
&lt;br&gt;&lt;br&gt;&lt;br&gt;Since ...components/ecj doesn't exist, it's not surprising that it
&lt;br&gt;doesn't &amp;quot;work&amp;quot;. &amp;nbsp;This leads me to suspect a problem with the Ant
&lt;br&gt;script.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/netif.h-present-but-unusable-on-Mac-tp26509802p26509802.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26370160</id>
	<title>Re: Re: Bug in 1.1.2: Folder.search() alters Folder.mode (works with 1.1.1)</title>
	<published>2009-11-16T03:08:02Z</published>
	<updated>2009-11-16T03:08:02Z</updated>
	<author>
		<name>Chris Burdess-2</name>
	</author>
	<content type="html">Boris Folgmann wrote:
&lt;br&gt;&amp;gt; Chris Burdess schrieb/wrote:
&lt;br&gt;&amp;gt;&amp;gt; Boris Folgmann wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I hope you find the problem.
&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; Please could you try with the attached patches to the inetlib and mail
&lt;br&gt;&amp;gt;&amp;gt; packages (from CVS HEAD) and let me know if this works for you?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Sorry, no attachments. Is it because I'm reading through news.gmane.org?
&lt;br&gt;&lt;br&gt;Hmm, maybe the listserv is stripping them out. Try this:
&lt;br&gt;&lt;br&gt;----inetlib.patch----
&lt;br&gt;Index: source/gnu/inet/imap/IMAPConnection.java
&lt;br&gt;===================================================================
&lt;br&gt;RCS file: /sources/classpath/inetlib/source/gnu/inet/imap/IMAPConnection.java,v
&lt;br&gt;retrieving revision 1.33
&lt;br&gt;diff -r1.33 IMAPConnection.java
&lt;br&gt;841a842
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ms.select = true;
&lt;br&gt;Index: source/gnu/inet/imap/MailboxStatus.java
&lt;br&gt;===================================================================
&lt;br&gt;RCS file: /sources/classpath/inetlib/source/gnu/inet/imap/MailboxStatus.java,v
&lt;br&gt;retrieving revision 1.5
&lt;br&gt;diff -r1.5 MailboxStatus.java
&lt;br&gt;64a65,66
&lt;br&gt;&amp;gt; &amp;nbsp; public boolean select;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;----mail.patch----
&lt;br&gt;Index: build.xml
&lt;br&gt;===================================================================
&lt;br&gt;RCS file: /sources/classpathx/mail/build.xml,v
&lt;br&gt;retrieving revision 1.17
&lt;br&gt;diff -r1.17 build.xml
&lt;br&gt;128a129
&lt;br&gt;&amp;gt; &amp;lt;/echo&amp;gt;
&lt;br&gt;Index: source/gnu/mail/providers/imap/IMAPFolder.java
&lt;br&gt;===================================================================
&lt;br&gt;RCS file: /sources/classpathx/mail/source/gnu/mail/providers/imap/IMAPFolder.java,v
&lt;br&gt;retrieving revision 1.23
&lt;br&gt;diff -r1.23 IMAPFolder.java
&lt;br&gt;152c152,155
&lt;br&gt;&amp;lt; &amp;nbsp; &amp;nbsp; mode = status.readWrite ? Folder.READ_WRITE : Folder.READ_ONLY;
&lt;br&gt;---
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; if (status.select)
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mode = status.readWrite ? Folder.READ_WRITE : Folder.READ_ONLY;
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Chris Burdess
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-1.1.2%3A-Folder.search%28%29-alters-Folder.mode-%28works-with-1.1.1%29-tp26309608p26370160.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26370084</id>
	<title>Re: Bug in 1.1.2: Folder.search() alters Folder.mode (works with 1.1.1)</title>
	<published>2009-11-16T03:03:12Z</published>
	<updated>2009-11-16T03:03:12Z</updated>
	<author>
		<name>Boris Folgmann</name>
	</author>
	<content type="html">Chris Burdess schrieb/wrote:
&lt;br&gt;&amp;gt; Boris Folgmann wrote:
&lt;br&gt;&amp;gt;&amp;gt; I hope you find the problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please could you try with the attached patches to the inetlib and mail
&lt;br&gt;&amp;gt; packages (from CVS HEAD) and let me know if this works for you?
&lt;br&gt;&lt;br&gt;Sorry, no attachments. Is it because I'm reading through news.gmane.org?
&lt;br&gt;&lt;br&gt;cu,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boris
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-1.1.2%3A-Folder.search%28%29-alters-Folder.mode-%28works-with-1.1.1%29-tp26309608p26370084.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26369908</id>
	<title>Re: Re: Bug in 1.1.2: Folder.search() alters Folder.mode (works with 1.1.1)</title>
	<published>2009-11-16T02:46:59Z</published>
	<updated>2009-11-16T02:46:59Z</updated>
	<author>
		<name>Chris Burdess-2</name>
	</author>
	<content type="html">Boris Folgmann wrote:
&lt;br&gt;&amp;gt; I hope you find the problem.
&lt;br&gt;&lt;br&gt;Please could you try with the attached patches to the inetlib and mail packages (from CVS HEAD) and let me know if this works for you?
&lt;br&gt;-- 
&lt;br&gt;Chris Burdess
&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-1.1.2%3A-Folder.search%28%29-alters-Folder.mode-%28works-with-1.1.1%29-tp26309608p26369908.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26338953</id>
	<title>Err...</title>
	<published>2009-11-13T08:04:28Z</published>
	<updated>2009-11-13T08:04:28Z</updated>
	<author>
		<name>Andrew Haley</name>
	</author>
	<content type="html">recursion: n.
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; See recursion.
&lt;br&gt;&lt;br&gt;:-)
&lt;br&gt;&lt;br&gt;Andrew.
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009-11-13 &amp;nbsp;Andrew Haley &amp;nbsp;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26338953&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aph@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; * java/util/TreeMap.java (anonymous class.size()): Debogosify.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; anonymous class.clear(): Likewise.
&lt;br&gt;&lt;br&gt;Index: classpath/java/util/TreeMap.java
&lt;br&gt;===================================================================
&lt;br&gt;--- classpath/java/util/TreeMap.javax	(revision 153739)
&lt;br&gt;+++ classpath/java/util/TreeMap.java	(working copy)
&lt;br&gt;@@ -2745,7 +2745,7 @@
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;{
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;public int size()
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp; &amp;nbsp;return size();
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp; &amp;nbsp;return DescendingMap.this.size();
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;	
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;public Iterator&amp;lt;DV&amp;gt; iterator()
&lt;br&gt;@@ -2786,7 +2786,7 @@
&lt;br&gt;&amp;nbsp;	
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;public void clear()
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp; &amp;nbsp;clear();
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp; &amp;nbsp;DescendingMap.this.clear();
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;};
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return values;
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---Patches-f1527.html&quot; embed=&quot;fixTarget[1527]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - Patches&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Err...-tp26338953p26338953.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26337365</id>
	<title>Re: Bug in 1.1.2: Folder.search() alters Folder.mode (works with 1.1.1)</title>
	<published>2009-11-13T06:24:08Z</published>
	<updated>2009-11-13T06:24:08Z</updated>
	<author>
		<name>Boris Folgmann</name>
	</author>
	<content type="html">Hi Chris,
&lt;br&gt;&lt;br&gt;Chris Burdess schrieb/wrote:
&lt;br&gt;&amp;gt; The mode is only changed from a call to update(MailboxStatus,
&lt;br&gt;&amp;gt; boolean). This can happen during various method calls, but not search
&lt;br&gt;&amp;gt; (). Are you sure this is your complete code with respect to IMAPFolder?
&lt;br&gt;&lt;br&gt;Yes, I tried some even simpler constructions:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;public void modeBug() throws MessagingException, IOException
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; store.connect();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Folder folder = store.getFolder(&amp;quot;empty IMAP folder&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; folder.open(Folder.READ_WRITE);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;10 mode: &amp;quot; + folder.getMode());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; folder.expunge();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;20 mode: &amp;quot; + folder.getMode());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; folder.search(remoteDsnTerm); // returns 0 msgs, as folder is empty
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&amp;quot;30 mode: &amp;quot; + folder.getMode());
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; folder.close(true);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } finally {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; store.close();
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&lt;br&gt;The output is:
&lt;br&gt;10 mode: 2
&lt;br&gt;20 mode: 2
&lt;br&gt;30 mode: 1
&lt;br&gt;&lt;br&gt;I further investigated and found out that the mode change does not happen 
&lt;br&gt;with every search term. Here's mine triggering the bug:
&lt;br&gt;&lt;br&gt;remoteDsnTerm = new AndTerm(new SearchTerm[] {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new OrTerm(new SearchTerm[] {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new FromStringTerm(&amp;quot;Mail Delivery Subsystem &amp;lt;MAILER-DAEMON@&amp;quot;),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new FromStringTerm(&amp;quot;Mail Delivery System &amp;lt;MAILER-DAEMON@&amp;quot;),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new FromStringTerm(&amp;quot;Mail Delivery Service &amp;lt;postmaster@&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new RecipientTerm(Message.RecipientType.TO, new 
&lt;br&gt;InternetAddress(toAddress)),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; new HeaderTerm(&amp;quot;content-type&amp;quot;, &amp;quot;multipart/report; 
&lt;br&gt;report-type=delivery-status;&amp;quot;)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;});
&lt;br&gt;&lt;br&gt;1. The bug happens not if the complete OrTerm is removed.
&lt;br&gt;2. The bug happens not if expunge() is not called before search().
&lt;br&gt;&lt;br&gt;I hope you find the problem.
&lt;br&gt;&lt;br&gt;cu,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boris
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-1.1.2%3A-Folder.search%28%29-alters-Folder.mode-%28works-with-1.1.1%29-tp26309608p26337365.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26454573</id>
	<title>Profiling application on JamVm</title>
	<published>2009-11-13T03:39:13Z</published>
	<updated>2009-11-13T03:39:13Z</updated>
	<author>
		<name>Sidh</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
&lt;small&gt;&lt;font face=&quot;Arial&quot;&gt;Hello,&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; I have deployed web application with Jam VM and gnu classpath,&lt;br&gt;
After deploying web application in Jetty , It grabs 20+ MB Residential
memory&lt;br&gt;
Need to why these much memory required by application / Virtual Machine.&lt;br&gt;
&lt;br&gt;
For need for profiling , Using JProfiler have to add two arguments
while invoking container &lt;br&gt;
&lt;br&gt;
Adding two arguments in invoking Jetty &lt;br&gt;
-Xrunjprofiler:port=8849 -Xbootclasspath/a:/sig/jprofiler6/bin/agent.jar&lt;br&gt;
&lt;br&gt;
JamVm does not accept -Xrunjprofiler:port=8849 as an argument while it
works fine with JVM distribution&lt;br&gt;
exported required library(ibjprofiler.so) path by jprofiler &lt;br&gt;
&lt;br&gt;
I m not getting why JamVm does not accept &lt;/font&gt;&lt;/small&gt;&lt;small&gt;&lt;font face=&quot;Arial&quot;&gt; -Xrunjprofiler:port=8849 argument&lt;br&gt;
Is there any profiling tool which is preferable and working on jamvm&lt;br&gt;
&lt;br&gt;
class path configured with no arguments (all components taken)&lt;br&gt;
&lt;br&gt;
&lt;/font&gt;&lt;/small&gt;&lt;small&gt;&lt;font face=&quot;Arial&quot;&gt;regards,&lt;br&gt;
Siddharth&lt;br&gt;
&lt;/font&gt;&lt;/small&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Profiling-application-on-JamVm-tp26454573p26454573.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26332398</id>
	<title>Re: Bug in 1.1.2: Folder.search() alters Folder.mode (works with 1.1.1)</title>
	<published>2009-11-12T23:23:22Z</published>
	<updated>2009-11-12T23:23:22Z</updated>
	<author>
		<name>Chris Burdess-2</name>
	</author>
	<content type="html">Boris Folgmann wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I've got a code that worked perfectly with mail 1.1.1 but has &amp;nbsp;
&lt;br&gt;&amp;gt; problems with 1.1.2.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt; store.connect();
&lt;br&gt;&amp;gt; Folder folder = store.getFolder(&amp;quot;a cyrus imap folder&amp;quot;);
&lt;br&gt;&amp;gt; folder.open(Folder.READ_WRITE);
&lt;br&gt;&amp;gt; log.info(&amp;quot;Total messages: &amp;quot; + folder.getMessageCount());
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Message[] msgs = folder.search(aTerm);
&lt;br&gt;&amp;gt; processMessages(msgs);
&lt;br&gt;&amp;gt; folder.expunge();
&lt;br&gt;&amp;gt; // folder.getMode() still returns Folder.READ_WRITE here
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; msgs = folder.search(aDifferentTerm);
&lt;br&gt;&amp;gt; // folder.getMode() now returns Folder.READ_ONLY!!
&lt;br&gt;&amp;gt; processMessages(msgs);
&lt;br&gt;&amp;gt; folder.expunge();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ----------------------------------------------------------------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The second folder.expunge() throws
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; javax.mail.MessagingException: Folder was opened read-only
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at gnu.mail.providers.imap.IMAPFolder.expunge(IMAPFolder.java: 
&lt;br&gt;&amp;gt; 530)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Using some more log.info() I found out that the Folder.mode is &amp;nbsp;
&lt;br&gt;&amp;gt; altered by the second search. I couldn't find anything in the &amp;nbsp;
&lt;br&gt;&amp;gt; JavaDocs that this is a regular behaviour. As it worked with the &amp;nbsp;
&lt;br&gt;&amp;gt; previous release, you may know what the problem could be.
&lt;/div&gt;&lt;br&gt;&lt;br&gt;The mode is only changed from a call to update(MailboxStatus, &amp;nbsp;
&lt;br&gt;boolean). This can happen during various method calls, but not search 
&lt;br&gt;(). Are you sure this is your complete code with respect to IMAPFolder?
&lt;br&gt;-- 
&lt;br&gt;Chris Burdess
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-1.1.2%3A-Folder.search%28%29-alters-Folder.mode-%28works-with-1.1.1%29-tp26309608p26332398.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26323193</id>
	<title>Re: Questions about jvmti.h header</title>
	<published>2009-11-12T09:49:32Z</published>
	<updated>2009-11-12T09:49:32Z</updated>
	<author>
		<name>Keith Seitz</name>
	</author>
	<content type="html">On 11/03/2009 04:27 AM, Michael Starzinger wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; * Are there any plans to install the jvmti.h file (just like it is done
&lt;br&gt;&amp;gt; with jni.h) or are there circumstances preventing such an installation?
&lt;br&gt;&lt;br&gt;That is probably just an oversight.
&lt;br&gt;&lt;br&gt;&amp;gt; * Why does the mentioned header include jvmti_md.h? All
&lt;br&gt;&amp;gt; machine-dependent definitions should have already been covered by
&lt;br&gt;&amp;gt; jni_md.h. Should the missing jvmti_md.h file be provided by the VM?
&lt;br&gt;&lt;br&gt;A VM may need to specialize some behavior in jvmti.h. Gcj did this, and 
&lt;br&gt;it provides the missing jvmti_md.h. If jni_md.h supplies everything 
&lt;br&gt;necessary, a &amp;quot;blank&amp;quot;/nop jvmti_md.h will suffice.
&lt;br&gt;&lt;br&gt;&amp;gt; I also stumbled upon a mailing list post[1] dealing with this topic. But
&lt;br&gt;&amp;gt; it seems to me that only a small part[2] actually made it into the GNU
&lt;br&gt;&amp;gt; Classpath source, the rest remained in the GCJ source.
&lt;br&gt;&lt;br&gt;I think this is self-explanatory now: jvmti_md.h is VM-dependent and 
&lt;br&gt;should be supplied by the VM vendor. That's why that file never made it 
&lt;br&gt;into classpath. It wouldn't help any other VM.
&lt;br&gt;&lt;br&gt;Keith
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Questions-about-jvmti.h-header-tp26178892p26323193.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26322515</id>
	<title>Re: Classpath 0.98 &amp; jks</title>
	<published>2009-11-12T09:10:27Z</published>
	<updated>2009-11-12T09:10:27Z</updated>
	<author>
		<name>Arigead</name>
	</author>
	<content type="html">Andrew John Hughes wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/11/12 Arigead &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26322515&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;captain.deadly@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; Hello All,
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp;sorry new here and haven't had time to lurk for a while to see the
&lt;br&gt;&amp;gt;&amp;gt; lie of the land.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm trying to run Jxta on Jamvm 1.5.3 with Classpath 0.98. I'm getting
&lt;br&gt;&amp;gt;&amp;gt; an error because of jks security not being found. I'll post the error
&lt;br&gt;&amp;gt;&amp;gt; I'm getting at the end of this email.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; A bit of searching on the Internet gives me a few posts by somebody with
&lt;br&gt;&amp;gt;&amp;gt; a similar problem [1] &amp; [2]. I can't find any responses and solutions to
&lt;br&gt;&amp;gt;&amp;gt; this problem.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm not sure how to get around this issue. I'm sure that there are many
&lt;br&gt;&amp;gt;&amp;gt; implementations of this security algorithm and I wonder can a lump of
&lt;br&gt;&amp;gt;&amp;gt; code be added included into the JRE or can source code be added to
&lt;br&gt;&amp;gt;&amp;gt; classpath. I mean there could I, if I had a clue ;-) add the necessary
&lt;br&gt;&amp;gt;&amp;gt; code into classpath source? I'd prefer if I could pull in something like
&lt;br&gt;&amp;gt;&amp;gt; BouncyCastle, although I'm not sure it would solve the problem as I'm
&lt;br&gt;&amp;gt;&amp;gt; not sure it implements this functionality.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I'm not great with Java I'm afraid so I'm not sure that a BounceyCastle
&lt;br&gt;&amp;gt;&amp;gt; could be used to implement functionality that is being requested of the JRE.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Sorry for a newbie post and thanks a million for any advice that anybody
&lt;br&gt;&amp;gt;&amp;gt; can offer.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; [1]
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/Problem-in-using-SSL-%28secure-socket%29-with-classpath-0.98-and-Jamvm-1.5.3-td23997596.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Problem-in-using-SSL-%28secure-socket%29-with-classpath-0.98-and-Jamvm-1.5.3-td23997596.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; [2] &lt;a href=&quot;http://www.mail-archive.com/classpath@gnu.org/msg15120.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/classpath@.../msg15120.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Caused by: java.security.KeyStoreException: jks
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; at java.security.KeyStore.getInstance(KeyStore.java:203)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; at java.security.KeyStore.getInstance(KeyStore.java:130)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; at
&lt;br&gt;&amp;gt;&amp;gt; net.jxta.impl.membership.pse.CMKeyStoreManager.&amp;lt;init&amp;gt;(CMKeyStoreManager.java:148)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; at
&lt;br&gt;&amp;gt;&amp;gt; net.jxta.impl.membership.pse.PSEKeyStoreManagerFactory$PSEKeyStoreManagerFactoryDefault.getInstance(PSEKeyStoreManagerFactory.java:143)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; ...24 more
&lt;br&gt;&amp;gt;&amp;gt; Caused by: java.security.NoSuchAlgorithmException: Algorithm [jks] of
&lt;br&gt;&amp;gt;&amp;gt; type [KeyStore] from provider
&lt;br&gt;&amp;gt;&amp;gt; [gnu.javax.security.auth.callback.GnuCallbacks: name=GNU-CALLBACKS
&lt;br&gt;&amp;gt;&amp;gt; version=2.1] is not found
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; at gnu.java.security.Engine.getInstance(Engine.java:191)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; at gnu.java.security.Engine.getInstance(Engine.java:105)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; at java.security.KeyStore.getInstance(KeyStore.java:188)
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; ...27 more
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; jks is not a crypto algorithm but a keystore format, and a proprietary
&lt;br&gt;&amp;gt; Sun one until the release of OpenJDK.
&lt;br&gt;&amp;gt; I guess in theory support could now be developed using the Sun source
&lt;br&gt;&amp;gt; code as a reference, but there's not much work on Classpath in general
&lt;br&gt;&amp;gt; at present.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34731&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34731&lt;/a&gt;&lt;/div&gt;&lt;br&gt;Andrew thanks a million for the Education. That totally answers my
&lt;br&gt;question perfectly. Don't get me a quick easy and dirty solution but at
&lt;br&gt;least now I know where I stand.
&lt;br&gt;&lt;br&gt;cheers
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Classpath-0.98---jks-tp26320883p26322515.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26321291</id>
	<title>Re: Classpath 0.98 &amp; jks</title>
	<published>2009-11-12T08:02:31Z</published>
	<updated>2009-11-12T08:02:31Z</updated>
	<author>
		<name>gnu_andrew</name>
	</author>
	<content type="html">2009/11/12 Arigead &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26321291&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;captain.deadly@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello All,
&lt;br&gt;&amp;gt;    sorry new here and haven't had time to lurk for a while to see the
&lt;br&gt;&amp;gt; lie of the land.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm trying to run Jxta on Jamvm 1.5.3 with Classpath 0.98. I'm getting
&lt;br&gt;&amp;gt; an error because of jks security not being found. I'll post the error
&lt;br&gt;&amp;gt; I'm getting at the end of this email.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; A bit of searching on the Internet gives me a few posts by somebody with
&lt;br&gt;&amp;gt; a similar problem [1] &amp; [2]. I can't find any responses and solutions to
&lt;br&gt;&amp;gt; this problem.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not sure how to get around this issue. I'm sure that there are many
&lt;br&gt;&amp;gt; implementations of this security algorithm and I wonder can a lump of
&lt;br&gt;&amp;gt; code be added included into the JRE or can source code be added to
&lt;br&gt;&amp;gt; classpath. I mean there could I, if I had a clue ;-) add the necessary
&lt;br&gt;&amp;gt; code into classpath source? I'd prefer if I could pull in something like
&lt;br&gt;&amp;gt; BouncyCastle, although I'm not sure it would solve the problem as I'm
&lt;br&gt;&amp;gt; not sure it implements this functionality.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm not great with Java I'm afraid so I'm not sure that a BounceyCastle
&lt;br&gt;&amp;gt; could be used to implement functionality that is being requested of the JRE.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sorry for a newbie post and thanks a million for any advice that anybody
&lt;br&gt;&amp;gt; can offer.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; [1]
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/Problem-in-using-SSL-%28secure-socket%29-with-classpath-0.98-and-Jamvm-1.5.3-td23997596.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Problem-in-using-SSL-%28secure-socket%29-with-classpath-0.98-and-Jamvm-1.5.3-td23997596.html&lt;/a&gt;&lt;br&gt;&amp;gt; [2] &lt;a href=&quot;http://www.mail-archive.com/classpath@gnu.org/msg15120.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/classpath@.../msg15120.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Caused by: java.security.KeyStoreException: jks
&lt;br&gt;&amp;gt;   at java.security.KeyStore.getInstance(KeyStore.java:203)
&lt;br&gt;&amp;gt;   at java.security.KeyStore.getInstance(KeyStore.java:130)
&lt;br&gt;&amp;gt;   at
&lt;br&gt;&amp;gt; net.jxta.impl.membership.pse.CMKeyStoreManager.&amp;lt;init&amp;gt;(CMKeyStoreManager.java:148)
&lt;br&gt;&amp;gt;   at
&lt;br&gt;&amp;gt; net.jxta.impl.membership.pse.PSEKeyStoreManagerFactory$PSEKeyStoreManagerFactoryDefault.getInstance(PSEKeyStoreManagerFactory.java:143)
&lt;br&gt;&amp;gt;   ...24 more
&lt;br&gt;&amp;gt; Caused by: java.security.NoSuchAlgorithmException: Algorithm [jks] of
&lt;br&gt;&amp;gt; type [KeyStore] from provider
&lt;br&gt;&amp;gt; [gnu.javax.security.auth.callback.GnuCallbacks: name=GNU-CALLBACKS
&lt;br&gt;&amp;gt; version=2.1] is not found
&lt;br&gt;&amp;gt;   at gnu.java.security.Engine.getInstance(Engine.java:191)
&lt;br&gt;&amp;gt;   at gnu.java.security.Engine.getInstance(Engine.java:105)
&lt;br&gt;&amp;gt;   at java.security.KeyStore.getInstance(KeyStore.java:188)
&lt;br&gt;&amp;gt;   ...27 more
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;jks is not a crypto algorithm but a keystore format, and a proprietary
&lt;br&gt;Sun one until the release of OpenJDK.
&lt;br&gt;I guess in theory support could now be developed using the Sun source
&lt;br&gt;code as a reference, but there's not much work on Classpath in general
&lt;br&gt;at present.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34731&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34731&lt;/a&gt;&lt;br&gt;-- 
&lt;br&gt;Andrew :-)
&lt;br&gt;&lt;br&gt;Free Java Software Engineer
&lt;br&gt;Red Hat, Inc. (&lt;a href=&quot;http://www.redhat.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.redhat.com&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Support Free Java!
&lt;br&gt;Contribute to GNU Classpath and the OpenJDK
&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/classpath&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/classpath&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://openjdk.java.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://openjdk.java.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;PGP Key: 94EFD9D8 (&lt;a href=&quot;http://subkeys.pgp.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://subkeys.pgp.net&lt;/a&gt;)
&lt;br&gt;Fingerprint: F8EF F1EA 401E 2E60 15FA &amp;nbsp;7927 142C 2591 94EF D9D8
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Classpath-0.98---jks-tp26320883p26321291.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26320883</id>
	<title>Classpath 0.98 &amp; jks</title>
	<published>2009-11-12T07:40:13Z</published>
	<updated>2009-11-12T07:40:13Z</updated>
	<author>
		<name>Arigead</name>
	</author>
	<content type="html">Hello All,
&lt;br&gt;&amp;nbsp; &amp;nbsp; sorry new here and haven't had time to lurk for a while to see the
&lt;br&gt;lie of the land.
&lt;br&gt;&lt;br&gt;I'm trying to run Jxta on Jamvm 1.5.3 with Classpath 0.98. I'm getting
&lt;br&gt;an error because of jks security not being found. I'll post the error
&lt;br&gt;I'm getting at the end of this email.
&lt;br&gt;&lt;br&gt;A bit of searching on the Internet gives me a few posts by somebody with
&lt;br&gt;a similar problem [1] &amp; [2]. I can't find any responses and solutions to
&lt;br&gt;this problem.
&lt;br&gt;&lt;br&gt;I'm not sure how to get around this issue. I'm sure that there are many
&lt;br&gt;implementations of this security algorithm and I wonder can a lump of
&lt;br&gt;code be added included into the JRE or can source code be added to
&lt;br&gt;classpath. I mean there could I, if I had a clue ;-) add the necessary
&lt;br&gt;code into classpath source? I'd prefer if I could pull in something like
&lt;br&gt;BouncyCastle, although I'm not sure it would solve the problem as I'm
&lt;br&gt;not sure it implements this functionality.
&lt;br&gt;&lt;br&gt;I'm not great with Java I'm afraid so I'm not sure that a BounceyCastle
&lt;br&gt;could be used to implement functionality that is being requested of the JRE.
&lt;br&gt;&lt;br&gt;Sorry for a newbie post and thanks a million for any advice that anybody
&lt;br&gt;can offer.
&lt;br&gt;&lt;br&gt;&lt;br&gt;[1]
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/Problem-in-using-SSL-%28secure-socket%29-with-classpath-0.98-and-Jamvm-1.5.3-td23997596.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Problem-in-using-SSL-%28secure-socket%29-with-classpath-0.98-and-Jamvm-1.5.3-td23997596.html&lt;/a&gt;&lt;br&gt;[2] &lt;a href=&quot;http://www.mail-archive.com/classpath@gnu.org/msg15120.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.mail-archive.com/classpath@.../msg15120.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Caused by: java.security.KeyStoreException: jks
&lt;br&gt;&amp;nbsp; &amp;nbsp;at java.security.KeyStore.getInstance(KeyStore.java:203)
&lt;br&gt;&amp;nbsp; &amp;nbsp;at java.security.KeyStore.getInstance(KeyStore.java:130)
&lt;br&gt;&amp;nbsp; &amp;nbsp;at
&lt;br&gt;net.jxta.impl.membership.pse.CMKeyStoreManager.&amp;lt;init&amp;gt;(CMKeyStoreManager.java:148)
&lt;br&gt;&amp;nbsp; &amp;nbsp;at
&lt;br&gt;net.jxta.impl.membership.pse.PSEKeyStoreManagerFactory$PSEKeyStoreManagerFactoryDefault.getInstance(PSEKeyStoreManagerFactory.java:143)
&lt;br&gt;&amp;nbsp; &amp;nbsp;...24 more
&lt;br&gt;Caused by: java.security.NoSuchAlgorithmException: Algorithm [jks] of
&lt;br&gt;type [KeyStore] from provider
&lt;br&gt;[gnu.javax.security.auth.callback.GnuCallbacks: name=GNU-CALLBACKS
&lt;br&gt;version=2.1] is not found
&lt;br&gt;&amp;nbsp; &amp;nbsp;at gnu.java.security.Engine.getInstance(Engine.java:191)
&lt;br&gt;&amp;nbsp; &amp;nbsp;at gnu.java.security.Engine.getInstance(Engine.java:105)
&lt;br&gt;&amp;nbsp; &amp;nbsp;at java.security.KeyStore.getInstance(KeyStore.java:188)
&lt;br&gt;&amp;nbsp; &amp;nbsp;...27 more
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Classpath-0.98---jks-tp26320883p26320883.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26309608</id>
	<title>Bug in 1.1.2: Folder.search() alters Folder.mode (works with 1.1.1)</title>
	<published>2009-11-11T14:09:50Z</published>
	<updated>2009-11-11T14:09:50Z</updated>
	<author>
		<name>Boris Folgmann</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I've got a code that worked perfectly with mail 1.1.1 but has problems with 
&lt;br&gt;1.1.2.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;store.connect();
&lt;br&gt;Folder folder = store.getFolder(&amp;quot;a cyrus imap folder&amp;quot;);
&lt;br&gt;folder.open(Folder.READ_WRITE);
&lt;br&gt;log.info(&amp;quot;Total messages: &amp;quot; + folder.getMessageCount());
&lt;br&gt;&lt;br&gt;Message[] msgs = folder.search(aTerm);
&lt;br&gt;processMessages(msgs);
&lt;br&gt;folder.expunge();
&lt;br&gt;// folder.getMode() still returns Folder.READ_WRITE here
&lt;br&gt;&lt;br&gt;msgs = folder.search(aDifferentTerm);
&lt;br&gt;// folder.getMode() now returns Folder.READ_ONLY!!
&lt;br&gt;processMessages(msgs);
&lt;br&gt;folder.expunge();
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------
&lt;br&gt;&lt;br&gt;The second folder.expunge() throws
&lt;br&gt;&lt;br&gt;javax.mail.MessagingException: Folder was opened read-only
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;at gnu.mail.providers.imap.IMAPFolder.expunge(IMAPFolder.java:530)
&lt;br&gt;&lt;br&gt;Using some more log.info() I found out that the Folder.mode is altered by 
&lt;br&gt;the second search. I couldn't find anything in the JavaDocs that this is a 
&lt;br&gt;regular behaviour. As it worked with the previous release, you may know 
&lt;br&gt;what the problem could be.
&lt;br&gt;&lt;br&gt;I also update jaf from 1.0 to 1.1.1
&lt;br&gt;&lt;br&gt;cu,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; boris
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/classpathx-javamail-f16003.html&quot; embed=&quot;fixTarget[16003]&quot; target=&quot;_top&quot; &gt;classpathx-javamail&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Bug-in-1.1.2%3A-Folder.search%28%29-alters-Folder.mode-%28works-with-1.1.1%29-tp26309608p26309608.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26178892</id>
	<title>Questions about jvmti.h header</title>
	<published>2009-11-03T04:27:24Z</published>
	<updated>2009-11-03T04:27:24Z</updated>
	<author>
		<name>Michael Starzinger</name>
	</author>
	<content type="html">Hello!
&lt;br&gt;&lt;br&gt;I am currently experimenting with JVMTI support in Cacao. My goal is &amp;nbsp;
&lt;br&gt;to have the implementation compile equally against both GNU Classpath &amp;nbsp;
&lt;br&gt;and OpenJDK headers. That's why I stumbled upon some questions about &amp;nbsp;
&lt;br&gt;the JVMTI header included in the GNU Classpath source.
&lt;br&gt;&lt;br&gt;* Are there any plans to install the jvmti.h file (just like it is &amp;nbsp;
&lt;br&gt;done with jni.h) or are there circumstances preventing such an &amp;nbsp;
&lt;br&gt;installation?
&lt;br&gt;&lt;br&gt;* Why does the mentioned header include jvmti_md.h? All machine- 
&lt;br&gt;dependent definitions should have already been covered by jni_md.h. &amp;nbsp;
&lt;br&gt;Should the missing jvmti_md.h file be provided by the VM?
&lt;br&gt;&lt;br&gt;I also stumbled upon a mailing list post[1] dealing with this topic. &amp;nbsp;
&lt;br&gt;But it seems to me that only a small part[2] actually made it into the &amp;nbsp;
&lt;br&gt;GNU Classpath source, the rest remained in the GCJ source.
&lt;br&gt;&lt;br&gt;References:
&lt;br&gt;[1] &lt;a href=&quot;http://gcc.gnu.org/ml/java-patches/2006-q3/msg00368.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gcc.gnu.org/ml/java-patches/2006-q3/msg00368.html&lt;/a&gt;&lt;br&gt;[2] &lt;a href=&quot;http://developer.classpath.org/pipermail/classpath-patches/2006-August/004013.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.classpath.org/pipermail/classpath-patches/2006-August/004013.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Thanks for your help,
&lt;br&gt;-michi
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Questions-about-jvmti.h-header-tp26178892p26178892.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26024960</id>
	<title>Re: Aliasing violations in gnu_java_nio_VMChannel.c</title>
	<published>2009-10-23T04:54:46Z</published>
	<updated>2009-10-23T04:54:46Z</updated>
	<author>
		<name>Andrew Haley</name>
	</author>
	<content type="html">Andrew John Hughes wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/10/23 Andrew Haley &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26024960&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aph@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; Andrew John Hughes wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; 2009/10/22 Andrew Haley &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26024960&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aph@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; This:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #ifdef HAVE_GETPEERNAME
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #ifdef HAVE_INET6
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;struct sockaddr_in6 *addr6;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;struct sockaddr_in6 sock_storage;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;socklen_t socklen = sizeof (struct sockaddr_in6);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #else
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;struct sockaddr_in sock_storage;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;socklen_t socklen = sizeof (struct sockaddr_in);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; #endif /* HAVE_INET6 */
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp;struct sockaddr *sockaddr = (struct sockaddr *) &amp;sock_storage;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; is clearly an aliasing violation: sock_storage is of type struct sockaddr_in6,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; and *sockaddr is of type struct sockaddr.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; It would be easy enough to fix the code with a union, but I can't test it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; because gcj doesn't use this code. &amp;nbsp;I could simply compile with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; -fno-strict-aliasing.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Thoughts?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Andrew.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; I posted a patch sometime ago to do exactly that (use a union), but
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; received no response:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://developer.classpath.org/pipermail/classpath-patches/2009-June/006341.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.classpath.org/pipermail/classpath-patches/2009-June/006341.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; It does need more testing than I've had chance to give it so far, I
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; just haven't had time to do any more work on it.
&lt;br&gt;&amp;gt;&amp;gt; I seriously wonder if it's worth the effort. &amp;nbsp;I just did this:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Index: configure.ac
&lt;br&gt;&amp;gt;&amp;gt; ===================================================================
&lt;br&gt;&amp;gt;&amp;gt; RCS file: /sources/classpath/classpath/configure.ac,v
&lt;br&gt;&amp;gt;&amp;gt; retrieving revision 1.244
&lt;br&gt;&amp;gt;&amp;gt; diff -c -u -r1.244 configure.ac
&lt;br&gt;&amp;gt;&amp;gt; --- configure.ac &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6 Feb 2009 02:21:23 -0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.244
&lt;br&gt;&amp;gt;&amp;gt; +++ configure.ac &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23 Oct 2009 09:10:33 -0000
&lt;br&gt;&amp;gt;&amp;gt; @@ -514,7 +514,7 @@
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; dnl CFLAGS that are used for all native code. &amp;nbsp;We want to compile
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; dnl everything with unwinder data so that backtrace() will always
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; dnl work.
&lt;br&gt;&amp;gt;&amp;gt; - &amp;nbsp; &amp;nbsp;EXTRA_CFLAGS='-fexceptions -fasynchronous-unwind-tables'
&lt;br&gt;&amp;gt;&amp;gt; + &amp;nbsp; &amp;nbsp;EXTRA_CFLAGS='-fexceptions -fasynchronous-unwind-tables -fno-strict-aliasing'
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; AC_SUBST(EXTRA_CFLAGS)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; dnl Strict warning flags which not every module uses.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; which is a much safer change. &amp;nbsp;It will somewhat pessimize other native code,
&lt;br&gt;&amp;gt;&amp;gt; that's true, but will that make any real difference to anyone these days?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Why not just amend the CFLAGS in the local Makefile.am for cpnet?
&lt;/div&gt;&lt;br&gt;Sure. &amp;nbsp;It won't make much difference, I suspect.
&lt;br&gt;&lt;br&gt;Andrew.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Aliasing-violations-in-gnu_java_nio_VMChannel.c-tp26013121p26024960.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26024794</id>
	<title>Re: Aliasing violations in gnu_java_nio_VMChannel.c</title>
	<published>2009-10-23T04:42:01Z</published>
	<updated>2009-10-23T04:42:01Z</updated>
	<author>
		<name>gnu_andrew</name>
	</author>
	<content type="html">2009/10/23 Andrew Haley &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26024794&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aph@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Andrew John Hughes wrote:
&lt;br&gt;&amp;gt;&amp;gt; 2009/10/22 Andrew Haley &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26024794&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aph@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; This:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; #ifdef HAVE_GETPEERNAME
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; #ifdef HAVE_INET6
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  struct sockaddr_in6 *addr6;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  struct sockaddr_in6 sock_storage;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  socklen_t socklen = sizeof (struct sockaddr_in6);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; #else
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  struct sockaddr_in sock_storage;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  socklen_t socklen = sizeof (struct sockaddr_in);
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; #endif /* HAVE_INET6 */
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;  struct sockaddr *sockaddr = (struct sockaddr *) &amp;sock_storage;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; is clearly an aliasing violation: sock_storage is of type struct sockaddr_in6,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; and *sockaddr is of type struct sockaddr.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; It would be easy enough to fix the code with a union, but I can't test it
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; because gcj doesn't use this code.  I could simply compile with
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -fno-strict-aliasing.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Thoughts?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Andrew.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I posted a patch sometime ago to do exactly that (use a union), but
&lt;br&gt;&amp;gt;&amp;gt; received no response:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &lt;a href=&quot;http://developer.classpath.org/pipermail/classpath-patches/2009-June/006341.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.classpath.org/pipermail/classpath-patches/2009-June/006341.html&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It does need more testing than I've had chance to give it so far, I
&lt;br&gt;&amp;gt;&amp;gt; just haven't had time to do any more work on it.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I seriously wonder if it's worth the effort.  I just did this:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Index: configure.ac
&lt;br&gt;&amp;gt; ===================================================================
&lt;br&gt;&amp;gt; RCS file: /sources/classpath/classpath/configure.ac,v
&lt;br&gt;&amp;gt; retrieving revision 1.244
&lt;br&gt;&amp;gt; diff -c -u -r1.244 configure.ac
&lt;br&gt;&amp;gt; --- configure.ac        6 Feb 2009 02:21:23 -0000       1.244
&lt;br&gt;&amp;gt; +++ configure.ac        23 Oct 2009 09:10:33 -0000
&lt;br&gt;&amp;gt; @@ -514,7 +514,7 @@
&lt;br&gt;&amp;gt;     dnl CFLAGS that are used for all native code.  We want to compile
&lt;br&gt;&amp;gt;     dnl everything with unwinder data so that backtrace() will always
&lt;br&gt;&amp;gt;     dnl work.
&lt;br&gt;&amp;gt; -    EXTRA_CFLAGS='-fexceptions -fasynchronous-unwind-tables'
&lt;br&gt;&amp;gt; +    EXTRA_CFLAGS='-fexceptions -fasynchronous-unwind-tables -fno-strict-aliasing'
&lt;br&gt;&amp;gt;     AC_SUBST(EXTRA_CFLAGS)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;     dnl Strict warning flags which not every module uses.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; which is a much safer change.  It will somewhat pessimize other native code,
&lt;br&gt;&amp;gt; that's true, but will that make any real difference to anyone these days?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Andrew.
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;Why not just amend the CFLAGS in the local Makefile.am for cpnet?
&lt;br&gt;-- 
&lt;br&gt;Andrew :-)
&lt;br&gt;&lt;br&gt;Free Java Software Engineer
&lt;br&gt;Red Hat, Inc. (&lt;a href=&quot;http://www.redhat.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.redhat.com&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Support Free Java!
&lt;br&gt;Contribute to GNU Classpath and the OpenJDK
&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/classpath&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/classpath&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://openjdk.java.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://openjdk.java.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;PGP Key: 94EFD9D8 (&lt;a href=&quot;http://subkeys.pgp.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://subkeys.pgp.net&lt;/a&gt;)
&lt;br&gt;Fingerprint: F8EF F1EA 401E 2E60 15FA &amp;nbsp;7927 142C 2591 94EF D9D8
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Aliasing-violations-in-gnu_java_nio_VMChannel.c-tp26013121p26024794.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26023108</id>
	<title>Re: Aliasing violations in gnu_java_nio_VMChannel.c</title>
	<published>2009-10-23T02:12:26Z</published>
	<updated>2009-10-23T02:12:26Z</updated>
	<author>
		<name>Andrew Haley</name>
	</author>
	<content type="html">Andrew John Hughes wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; 2009/10/22 Andrew Haley &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26023108&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aph@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt;&amp;gt; This:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; #ifdef HAVE_GETPEERNAME
&lt;br&gt;&amp;gt;&amp;gt; #ifdef HAVE_INET6
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;struct sockaddr_in6 *addr6;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;struct sockaddr_in6 sock_storage;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;socklen_t socklen = sizeof (struct sockaddr_in6);
&lt;br&gt;&amp;gt;&amp;gt; #else
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;struct sockaddr_in sock_storage;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;socklen_t socklen = sizeof (struct sockaddr_in);
&lt;br&gt;&amp;gt;&amp;gt; #endif /* HAVE_INET6 */
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;struct sockaddr *sockaddr = (struct sockaddr *) &amp;sock_storage;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; is clearly an aliasing violation: sock_storage is of type struct sockaddr_in6,
&lt;br&gt;&amp;gt;&amp;gt; and *sockaddr is of type struct sockaddr.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; It would be easy enough to fix the code with a union, but I can't test it
&lt;br&gt;&amp;gt;&amp;gt; because gcj doesn't use this code. &amp;nbsp;I could simply compile with
&lt;br&gt;&amp;gt;&amp;gt; -fno-strict-aliasing.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thoughts?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Andrew.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I posted a patch sometime ago to do exactly that (use a union), but
&lt;br&gt;&amp;gt; received no response:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://developer.classpath.org/pipermail/classpath-patches/2009-June/006341.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.classpath.org/pipermail/classpath-patches/2009-June/006341.html&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; It does need more testing than I've had chance to give it so far, I
&lt;br&gt;&amp;gt; just haven't had time to do any more work on it.
&lt;/div&gt;&lt;br&gt;I seriously wonder if it's worth the effort. &amp;nbsp;I just did this:
&lt;br&gt;&lt;br&gt;Index: configure.ac
&lt;br&gt;===================================================================
&lt;br&gt;RCS file: /sources/classpath/classpath/configure.ac,v
&lt;br&gt;retrieving revision 1.244
&lt;br&gt;diff -c -u -r1.244 configure.ac
&lt;br&gt;--- configure.ac &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6 Feb 2009 02:21:23 -0000 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.244
&lt;br&gt;+++ configure.ac &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;23 Oct 2009 09:10:33 -0000
&lt;br&gt;@@ -514,7 +514,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dnl CFLAGS that are used for all native code. &amp;nbsp;We want to compile
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dnl everything with unwinder data so that backtrace() will always
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dnl work.
&lt;br&gt;- &amp;nbsp; &amp;nbsp;EXTRA_CFLAGS='-fexceptions -fasynchronous-unwind-tables'
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;EXTRA_CFLAGS='-fexceptions -fasynchronous-unwind-tables -fno-strict-aliasing'
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;AC_SUBST(EXTRA_CFLAGS)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;dnl Strict warning flags which not every module uses.
&lt;br&gt;&lt;br&gt;which is a much safer change. &amp;nbsp;It will somewhat pessimize other native code,
&lt;br&gt;that's true, but will that make any real difference to anyone these days?
&lt;br&gt;&lt;br&gt;Andrew.
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Aliasing-violations-in-gnu_java_nio_VMChannel.c-tp26013121p26023108.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26013285</id>
	<title>Re: Aliasing violations in gnu_java_nio_VMChannel.c</title>
	<published>2009-10-22T09:42:04Z</published>
	<updated>2009-10-22T09:42:04Z</updated>
	<author>
		<name>gnu_andrew</name>
	</author>
	<content type="html">2009/10/22 Andrew Haley &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26013285&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aph@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; This:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; #ifdef HAVE_GETPEERNAME
&lt;br&gt;&amp;gt; #ifdef HAVE_INET6
&lt;br&gt;&amp;gt;  struct sockaddr_in6 *addr6;
&lt;br&gt;&amp;gt;  struct sockaddr_in6 sock_storage;
&lt;br&gt;&amp;gt;  socklen_t socklen = sizeof (struct sockaddr_in6);
&lt;br&gt;&amp;gt; #else
&lt;br&gt;&amp;gt;  struct sockaddr_in sock_storage;
&lt;br&gt;&amp;gt;  socklen_t socklen = sizeof (struct sockaddr_in);
&lt;br&gt;&amp;gt; #endif /* HAVE_INET6 */
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;  struct sockaddr *sockaddr = (struct sockaddr *) &amp;sock_storage;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; is clearly an aliasing violation: sock_storage is of type struct sockaddr_in6,
&lt;br&gt;&amp;gt; and *sockaddr is of type struct sockaddr.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It would be easy enough to fix the code with a union, but I can't test it
&lt;br&gt;&amp;gt; because gcj doesn't use this code.  I could simply compile with
&lt;br&gt;&amp;gt; -fno-strict-aliasing.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thoughts?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Andrew.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;I posted a patch sometime ago to do exactly that (use a union), but
&lt;br&gt;received no response:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://developer.classpath.org/pipermail/classpath-patches/2009-June/006341.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.classpath.org/pipermail/classpath-patches/2009-June/006341.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;It does need more testing than I've had chance to give it so far, I
&lt;br&gt;just haven't had time to do any more work on it.
&lt;br&gt;-- 
&lt;br&gt;Andrew :-)
&lt;br&gt;&lt;br&gt;Free Java Software Engineer
&lt;br&gt;Red Hat, Inc. (&lt;a href=&quot;http://www.redhat.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.redhat.com&lt;/a&gt;)
&lt;br&gt;&lt;br&gt;Support Free Java!
&lt;br&gt;Contribute to GNU Classpath and the OpenJDK
&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/classpath&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/classpath&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://openjdk.java.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://openjdk.java.net&lt;/a&gt;&lt;br&gt;&lt;br&gt;PGP Key: 94EFD9D8 (&lt;a href=&quot;http://subkeys.pgp.net&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://subkeys.pgp.net&lt;/a&gt;)
&lt;br&gt;Fingerprint: F8EF F1EA 401E 2E60 15FA &amp;nbsp;7927 142C 2591 94EF D9D8
&lt;br&gt;&lt;br&gt;&lt;p&gt;From forum: &lt;a href=&quot;http://old.nabble.com/Gnu---Classpath---General-f1525.html&quot; embed=&quot;fixTarget[1525]&quot; target=&quot;_top&quot; &gt;Gnu - Classpath - General&lt;/a&gt;&lt;/p&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Aliasing-violations-in-gnu_java_nio_VMChannel.c-tp26013121p26013285.html" />
</entry>

</feed>
