marchof / java-almanac

The history and future of Java.

Home Page:https://javaalmanac.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show changed/added/removed internal modules

maxandersen opened this issue · comments

Hello, I would like to propose the following improvement on this page:

list module name changes/removals/adds?

just found that "jdk.naming.ldap" is a module name only showing up in Java 11 - not 9 nor 12 and wondered if that was documented somewhere.

for i in {11..17}; do echo "$i"; eval "$(jbang jdk java-env $i)" && java --list-modules | grep naming.ldap; done

was what I used to spot it. would've been nice if javaalamanc could capture similar.

Hi @maxandersen, currently only java.* and javax.* packages are considered. Internal API (sun.* etc) are excluded as well as jdk.* modules. I expect lots of changes in those (because they are not API) so I'm not sure whether it is a good idea to include them on the general comparison page.

But adding just a list of modules (incl. diffs) might be an option.