How to extract a class from "modules" archive

Jeff MAURY jeffmaury at jeffmaury.com
Fri Dec 25 11:54:35 UTC 2020


Use ClassLoader::getSystemResource, or the JRT file system

On Fri, Dec 25, 2020 at 11:32 AM Gunnar Morling <gunnar at hibernate.org>
wrote:

> Hi,
>
> Is the format of the "modules" archive specified and documented somewhere?
> Or asked differently, if I wanted to extract the class file for a given JDK
> class from the "modules" file coming with the JDK, what would be the best
> way to do so?
>
> Thanks a lot,
>
> --Gunnar
>


-- 
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury


More information about the jigsaw-dev mailing list