RFR: 7904029: jcstress: Explicitly enable annotation processors to fix build artifacts on JDK 23+ [v3]

Aleksey Shipilev shade at openjdk.org
Tue Jun 10 08:28:43 UTC 2025


On Tue, 10 Jun 2025 08:21:34 GMT, Pavel Rappo <prappo at openjdk.org> wrote:

>> jcstress-core/src/main/resources/META-INF/services/javax.annotation.processing.Processor line 1:
>> 
>>> 1: #    Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
>> 
>> This should really stay to benefit JDKs < 23.
>
> In what sense does it benefit pre JDK 23? FWIW, this patch seems to work fine on JDK 17 and JDK 21.

Whichever project that consumes jcstress-core as the dependency on older JDKs would stop working if we stop shipping this service binding, AFAICS? They would need the same adjustment to enable annotation processors like the rest of this PR. _This_ would be a breaking change.

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

PR Review Comment: https://git.openjdk.org/jcstress/pull/164#discussion_r2137247369


More information about the jcstress-dev mailing list