How to extract a class from "modules" archive
Gunnar Morling
gunnar at hibernate.org
Fri Dec 25 16:28:38 UTC 2020
Thanks, Sundar and Jeff! The tool approach was what I was looking for, so
thx for the pointer to jimage.
--Gunnar
Am Fr., 25. Dez. 2020 um 13:05 Uhr schrieb <
sundararajan.athijegannathan at oracle.com>:
> 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