RFR: 8355725: SPEC_FILTER stopped working
Magnus Ihse Bursie
ihse at openjdk.org
Wed May 28 14:44:59 UTC 2025
On Wed, 28 May 2025 00:06:36 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> From the bug description:
>
> The SPEC_FILTER make variable is meant to be used to create small documentation bundles that just contain some selected files. Example usage:
>
> `make docs-specs-zip SPEC_FILTER="%-jls.md copyright.html %logo.gif resources"`
>
> The fix for [JDK-8349143](https://bugs.openjdk.org/browse/JDK-8349143) caused the feature to stop working: no matter what the filter variables says, all the specs get built. This is a regression, old behavior needs to be restored.
The problem with `?=` is that makes a macro (lazy evaluation), not an assignment (early evaluation). I try to avoid it for that reason and instead rely on assignment in conditionals.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25476#issuecomment-2916603046
More information about the build-dev
mailing list