Differences between openJDK and oracleJDK

Wang Weijun weijun.wang at oracle.com
Wed Sep 21 14:17:23 UTC 2016


> On Sep 21, 2016, at 5:06 AM, Bradford Wetmore <bradford.wetmore at oracle.com> wrote:
> 
> 
> 
> On 9/19/2016 8:04 AM, Steffen Heil (Mailinglisten) wrote:
>> Hi
>> 
>> 
>> I have problems with the following method:
>>   sun.security.x509.AuthorityKeyIdentifierExtension.getEncodedKeyIdentifier()
>> 
>> It exists in openJDK but it does not exist in oracleJDK.
> 
> It is there in my OracleJDK build.
> 
> ls -l jdk/modules/java.base/sun/security/x509/AuthorityKeyIdentifierExtension.class
> -rwxr-xr-x 1 brwetmor Domain Users 6458 Sep 12 14:47 jdk/modules/java.base/sun/security/x509/AuthorityKeyIdentifierExtension.class

The original mail is about the method missing, not the class.

That said, I also don't think there is any difference between OpenJDK and Oracle JDK here.

*Steffen*, how do you find the method is missing? The latest jdk9 is modularized so you cannot call internal method like before. Is that the reason? Can you show the compilation or runtime error?

Thanks
Max

> 
> There's been a couple of followups points that I won't repeat:
> 
>> So I have the following questions:
>> - Are the jsse-Implementations of both JDKs independent?
> 
> There is no difference in the Oracle and OpenJDK JSSE implementation. They are the same.  That said, other distributions which derive from OpenJDK (e.g. IcedTea or Linux distros) may have differences, but that is outside my knowledge area.  If you build OpenJDK from the source, the binaries of JSSE in OpenJDK and OracleJDK will be the same.
> 
> Brad



More information about the discuss mailing list