AW: Differences between openJDK and oracleJDK
Steffen Heil (Mailinglisten)
lists at steffen-heil.de
Fri Sep 30 20:04:18 UTC 2016
Sorry for the late reply.
> 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?
The following works in openJDK 18.104.22.168:
AuthorityKeyIdentifierExtension akidext = ....;
byte kid = akidext.getEncodedKeyIdentifier();
But in oracleJDK 22.214.171.124 it leads to a compile time error, because that method does not exist.
> > There is no difference in the Oracle and OpenJDK JSSE implementation. They are the same.
Obviously, there is.
> 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.
I downloaded the source of openJDK from its source repositories and compiled it myself.
I also tested with https://github.com/ojdkbuild/ojdkbuild.
I downloaded oracleJDK from oracle itself.
So I don't think this is the issue.
More information about the discuss