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.athijegannat...@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 >