RFR: 7902888: Excess entries in BootstrapMethods with the same bsm, bsmKind, bsmArgs

Jiří Vaněk jvanek at openjdk.org
Fri Nov 4 07:40:41 UTC 2022


On Tue, 1 Nov 2022 23:21:15 GMT, Leonid Kuskov <lkuskov at openjdk.org> wrote:

> This is the fix for a regression made during the fix of [CODETOOLS-7902888]( https://bugs.openjdk.org/browse/CODETOOLS-7902888)<br>
> Also added extra methods to Main classes to allow working with external tools.

src/org/openjdk/asmtools/jcoder/Main.java line 118:

> 116: 
> 117:     // Run jcoder compiler with args
> 118:     public synchronized boolean compile(String... argv) {

I like the compile method with args idea! Why it was done sudenly synchrornized! Whole asmtools are not thread safe, aren't they?

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

PR: https://git.openjdk.org/asmtools/pull/47


More information about the asmtools-dev mailing list