On Thu, 16 Mar 2023 08:14:25 GMT, Varada M <[email protected]> wrote:

> jdk/test/jdk/tools/jimage/VerifyJimage.java is failing because the module 
> java.base is not exporting jdk.internal.org.objectweb.asm to module 
> jdk.jshell. 
> 
> Reported Issue : [JDK-8304320](https://bugs.openjdk.org/browse/JDK-8304320)

I agree with Alan that it seems like there is more going on here. jshell should 
not need a dependency on ASM anymore.

I am not able to reproduce this failure locally with the latest `master`, and 
when I look in `build<conf>\jdk\modules\jdk.jshell\jdk\jshell\execution` I 
don't see a `jdk.jshell.execution.LocalExecutionControl$1$1` class file. 
(However, it is there in old jdk builds I have lying around. Likely when the 
class still contained reference to ASM). Do you have such a file in that 
location?

I think perhaps the file is left over from a previous build, and is getting 
included in the jimage file by accident. Have you tried a clean build as well?

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

PR: https://git.openjdk.org/jdk/pull/13057

Reply via email to