On Tue, 25 Jun 2024 13:59:35 GMT, Sonia Zaldana Calles <szald...@openjdk.org> 
wrote:

> Hi all, 
> 
> This PR addresses [JDK-8333308](https://bugs.openjdk.org/browse/JDK-8333308) 
> enabling `javap -system` to handle internal class names. 
> 
> Thanks, 
> Sonia

For a test, I agree it is quite difficult. For the `--system` parameter, it 
would probably be possible to create a directory (e.g. `$DIR`), and inside it 
`$DIR/lib`, and copy suitable `jrt-fs.jar` and  `modules` to it from 
`$JDK/lib`. And the use `--system $DIR`. But, it would still be fairly 
difficult to be sure the class' content is read from `$DIR`, not from the 
runtime JDK - `modules` would presumably need to be modified/different than the 
one for the runtime JDK, and that is not very easy.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/19883#issuecomment-2191232755

Reply via email to