Sync'ing up jdk7 at b50

Andrew John Hughes gnu_andrew at member.fsf.org
Thu Feb 12 07:08:26 PST 2009


2009/2/12 Alan Bateman <Alan.Bateman at sun.com>:
> Andrew John Hughes wrote:
>>
>> :
>> With a similar aim in mind, we now provide NIO2 (b98) directly in
>> IcedTea6 and IcedTea7 as patches against the main OpenJDK6/7 trees (in
>> a separate namespace for 6 to avoid compatibility issues).  It would
>> be great to see this more widely tested, and the audience for a branch
>> of a development JDK seems fairly limited, even if binaries are
>> provided.  Making it available in IcedTea6 should mean distros start
>> shipping it soon and users will have an easy way to use these classes
>> if they so wish.
>>
>
> I wasn't aware of this. I'll check it out - thanks! Yes, the more people
> trying out the API the better.  If you run into any portability issues, bugs
> or other feedback, then please let us know (on Linux portability, as you
> probably know we don't build on architectures other than x86/x64 so there
> may be issues there).
>
> -Alan.
>

It only happened last week :)
We already have one portability issue you are probably aware of.
Thanks to testing from Matthias Klose, we've found that the build
fails on armel:

../../../src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c: In
function 'Java_sun_nio_fs_UnixNativeDispatcher_initIDs':
../../../src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c:203:
error: 'fstatat64_wrapper' undeclared (first use in this function)
../../../src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c:203:
error: (Each undeclared identifier is reported only once
../../../src/solaris/native/sun/nio/fs/UnixNativeDispatcher.c:203:
error: for each function it appears in.)
make[6]: *** [/build/buildd/openjdk-6-6b14/openjdk/control/build/linux-arm/tmp/java/java.nio/nio/obj/UnixNativeDispatcher.o]
Error 1

http://launchpadlibrarian.net/22537446/buildlog_ubuntu-jaunty-armel.openjdk-6_6b14-0ubuntu12_FAILEDTOBUILD.txt.gz

Strangely, it passes on SPARC and PowerPC (both GNU/Linux).  This
function is available in glibc 2.9 so the conditional to just turn it
off for GNU/Linux platforms is wrong.
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the nio-dev mailing list