Hi,

Am Donnerstag, dem 01.10.2026 um 08:55 +0200 schrieb Jaroslav Tulach:

> [NetBeans fails to build on JDK25+ without messing with ANT_OPTS]
> [Suggestion: set required system property from custom ANT task]

I think the idea is worth implementing. There was an issue raised for
this and I think saying "yeah we know, just mess with environment" is
not a nice answer and the build system making the necessary adjustments
ist sane from my POV.

I don't see an attack vector there as we control we input and even if
not it is not an unbounded sie.

For the implementation I would suggest not to use a generic
"setProperty" task. This approach is missing a guard, that could check
if the value is already higher. An alterative might be a task that
explicitly sets that property and checks the previous value? But maybe
I'm just paranoid.

Greetings

Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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



Reply via email to