[patch] Support New NIO in IcedTea

C. K. Jester-Young cky944 at gmail.com
Fri Sep 12 22:09:58 PDT 2008


I'm working on a patch for the latest changes for both NIO2 and IcedTea
(though in the long run, after a discussion with Alan Bateman, I've
decided it'd be a better idea to implement support for IcedTea to check
out specific tags of NIO2, just as is done with the jdk7 forest), so
I'll write again once I have something working, but meanwhile, I should
respond to this. :-)

On Thu, Sep 04, 2008 at 09:45:15AM +0100, Andrew John Hughes wrote:
[Re: Gmail]
> Yes, I have a bug list for it as long as my arm, trying to force
> top-posting being the main one.  I reported this but they seem to have
> done nothing to fix it.  I use Mutt for my university IMAP account but
> it's far too slow to use with the amount of mail I get and unsecured -
> this is probably down to the University's choice of mail server rather
> than IMAP itself.  Is Google's IMAP access SSL-encrypted?

Haha, that reminded me of my Google onsite interview half a year ago,
where I was asked what I felt could be improved with Google products.
I had my fair list of things too. :-)

Gmail's IMAP access is, as far as I know, SSL-required (port 143 is
inaccessible). I have these settings in Mutt, which you're most welcome
to adapt as required:

set spoolfile="imaps://cky944%40gmail.com@imap.gmail.com/"
set smtp_url="smtps://cky944%40gmail.com@smtp.gmail.com/"
unset record	# since Gmail saves your mail when sent via their SMTP
subscribe distro-pkg-dev at openjdk.java.net
# ...plus similar subscribe lines for other mailing lists I'm on

Remember to enable IMAP access in your Gmail account settings, or else
you won't be able to log in. :-)

> Yeah, there is still a lot of oddities in IcedTea that I don't really
> understand and pre-date its public availability.  Another is that an
> ecj binary is detected, but I'm not sure it's even used any more.
> The ecj used by ecj builds is from javac.in which means it's always
> interpreted; this is actually what slows my build down the most
> noticeably, and I've been meaning to look into getting it to pre-compile
> ecj if gcj is detected.  Using the system ecj would fix this too, but
> I guess there are some broken versions out there in various distros.

As far as I know, IcedTea _does_ use the system ecj when compiling; if
it weren't so, it'd be trivial to use a newer version that supported
@Override annotations in interface methods, for instance.

Oh, you're talking about the ecj shell script, not ecj.jar. Well, it
should be easy for you to copy the shell script into javac.in before
you build. :-)

[Re: my pre-trip patches]
> Thanks! I'll try and give it a test drive this evening.

I haven't heard any feedback during my time away, so I gathered it may
not have been working too well. Oh well. Hopefully the upcoming patches
will work better. :-)

Cheers,
	---Chris K.



More information about the distro-pkg-dev mailing list