New API in JDK7

Andrew John Hughes gnu_andrew at member.fsf.org
Mon Aug 3 09:10:20 PDT 2009


2009/8/3 Martin Buchholz <martinrb at google.com>:
> Interesting.
>
> There is a bunch of warnings about java.util.concurrent
>
> http://builder.classpath.org/japi/openjdk6-openjdk7.html#err_bad_java_util_concurrent
>
> but I don't understand them.
> There is not supposed to be any difference between jdk6 and jdk7
> with these methods.
>

Funnily enough, I was just looking at exactly the same thing!  I think
those are red herrings; the japi tool seems to be getting confused
over the generics in those classes.  We get the same errors for GNU
Classpath too, yet this is one situation where we all share the same
public domain code from Doug.  You can safely ignore them.

Everything else seems sane and I found it interesting spotting a few
minor changes I'd missed such as some of the new constructors, etc.

> Martin
>
> On Mon, Aug 3, 2009 at 07:23, Andrew John
> Hughes<gnu_andrew at member.fsf.org> wrote:
>> I thought this might be of interest to those who want a quick overview
>> of actual API changes in JDK7 so far.  With Classpath, we use the
>> japitools developed by Stuart Ballard
>> (http://sab39.netreach.com/Software/Japitools/42/) to compare how well
>> Classpath implements the APIs provided by various versions of the JDK.
>>  The same can be done to see 'how well OpenJDK6 implements OpenJDK7'
>> or rather what's changed since JDK6:
>>
>> http://builder.classpath.org/japi/openjdk7-openjdk6.html
>>
>> There's also the inverse:
>>
>> http://builder.classpath.org/japi/openjdk6-openjdk7.html
>>
>> which shows anything missing in OpenJDK7 that was in OpenJDK6 (some
>> xml methods and one Swing method it seems).
>>
>> Currently the results are based on IcedTea builds of b16 of OpenJDK6
>> and b66 (Milestone 4) of OpenJDK7, and will be updated to new builds
>> as they are released and supported by IcedTea.
>> --
>> 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
>>
>



-- 
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 jdk7-dev mailing list