How to extract a class from "modules" archive
sundararajan.athijegannathan at oracle.com
sundararajan.athijegannathan at oracle.com
Fri Dec 25 12:04:40 UTC 2020
By tool:
jimage extract <modules_file>
By API:
jrt-fs file system. You can find jrt-fs usage from javac code
-Sundar
On 25/12/20 4:02 pm, Gunnar Morling 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
More information about the jigsaw-dev
mailing list