简体   繁体   中英

How to find the indirect dependency version of jdk?

I want to get the version of indirect dependencies of jdk (requirement from my company), and after I did some research I find some of them on the openJDK github page: https://github.com/openjdk/jdk/tree/master/src/java.desktop/share/legal

Unfortunately, not all the dependencies are listed on this page, for example jline, mime4j etc. Is there a place that list all the JDK's own dependencies? Thanks.

Currently, you're looking at the dependencies of the java.desktop module. The jline dependency is listed in the jdk.internal.le module: https://github.com/openjdk/jdk/tree/master/src/jdk.internal.le/share/legal , in other words you need to find all share/legal directories (ie for each module).

For example, by going to the GitHub file finder of the (master) branch and searching for share/legal (note it does a fuzzy search, so it also lists unrelated files).

As far as I'm aware, the JDK doesn't depend on mime4j , which would explain why you can't find a declaration in any share/legal directory.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM