On Sat, 22 Mar 2025 at 18:37, Matthias Bläsing
<mblaes...@doppel-helix.eu.invalid> wrote:
> without the "why" please lets not jump to conclusions. This might be
> just an asm incompatibility. And Neil already mentioned, that the JDK24
> classfile api might be an alternative.

I'm not sure I did?!  I pointed at the use of manual bytecode patching
over ASM in Jan's original agent approach to removing the
SecurityManager.  Using the classfile API is reversing that problem.

While having this fix only working on JDK 24+ probably isn't an issue,
I'm not sure we have a good way to provide OS and JDK specific default
arguments?  In which case, we're left with having it switched off by
default, or having a no-op agent loaded on other OS and JDK < 24 ??  I
think I might be coming back around to Michael's suggestion of the
patch jar, with instructions for the zip, and the patch already
included in the community installers. :-)

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to