adoptopenjdk / jdk-api-diff Goto Github PK
View Code? Open in Web Editor NEWCreates a report of all API changes two JDK versions
License: Other
Creates a report of all API changes two JDK versions
License: Other
can I use this project to compare AdoptOpenJDK8 vs ZuluJDK8?
in general, can it be used to compare JDK from different provider with same major release version
Self-explanatory, hopefully :) EA is already there
Could you guys please add as pregenerated docs the diff between all LTS versions, including the diff between JDK17 and 21? 8 to 11 and 11 to 17 are already there. Alternatively can AdoptOpenJDK provide a separate website with these diffs? I tried to generate them but it cannot work in my work set-up.
Thanks for the amazing work you guys did there.
Good morning,
Maybe, it could be interesting to add the differences between OpenJDK 8
to OpenJDK 9
.
Many users continue using OpenJDK 8
as the default JVM
.
Another question, in September will appear OpenJDK 11
and it will considered the next LTS JDK
. Do you consider interesting to have a compassion from OpenJDK 8
to OpenJDK 11
?
Many thanks in advance, great repo.
Juan Antonio
It would add usability if the added/modified methods/classes had javadocs attached or at least links to online javadocs.
Could publish the diffs for Java 16 and 17? I use this tool to find additions to modernizer-maven-plugin.
When I run diff between JDK 11 and 17 I get a lot of errors like:
java.lang.module.InvalidModuleDescriptorException: Unsupported major.minor version 61.0
at java.base/jdk.internal.module.ModuleInfo.invalidModuleDescriptor(ModuleInfo.java:1092)
at java.base/jdk.internal.module.ModuleInfo.doRead(ModuleInfo.java:196)
at java.base/jdk.internal.module.ModuleInfo.read(ModuleInfo.java:132)
at jdk.jlink/jdk.tools.jmod.JmodTask.describe(JmodTask.java:312)
at jdk.jlink/jdk.tools.jmod.JmodTask.run(JmodTask.java:217)
at jdk.jlink/jdk.tools.jmod.Main.run(Main.java:49)
at jdk.jlink/jdk.tools.jmod.Main$JmodToolProvider.run(Main.java:58)
at [email protected]/net.adoptopenjdk.jdkapidiff.repackager.Jdk9Repackager.lambda$extractJdkClasses$1(Jdk9Repackager.java:55)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
It looks like Jdk8Repackager
tries to process multiple library JARs, some of which are optional. When one of the libraries is missing, repackaging fails. For example the Temurin OpenJDK 8 builds (https://adoptium.net/releases.html?variant=openjdk8) do not seem to include jre/lib/javaws.jar
.
Maybe Jdk8Repackager
should only require that rt.jar
exists and for all other libraries first check if they exist before trying to process them.
(Also it would be good to improve the error output here by joining the lines using \n
.)
For now, in order to provide custom JDKs, we need to first add them to Maven toolchains.xml
, then extract corresponding JAVA_HOMEs using a Groovy script, only to add them to build properties.
I'm not sure if there's some deeper context behind it being done this way, but it looks like it could be easily simplified just by supplying the build with JAVA_HOMEs directly:
RUN mvn install -DjavaHome1=FOO -DjavaHome2=FOO
I have a PoC ready that was made alongside #9
You can see the diff here: https://github.com/pivovarit/jdk-api-diff/commit/e95160b52b3bdd21f72e60bbc0be1173ea308095
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.