RFR: 8369734: JvmtiExport::post_class_file_load_hook return value is never used [v2]
Francesco Andreuzzi
fandreuzzi at openjdk.org
Thu Oct 16 08:15:32 UTC 2025
On Wed, 15 Oct 2025 17:36:09 GMT, Serguei Spitsyn <sspitsyn at openjdk.org> wrote:
>> Anybody knows why [this failure](https://github.com/fandreuz/jdk/actions/runs/18523317228/job/52788441879#step:9:3189) happened only in linux-x64-hs-minimal? Shouldn't it fail everywhere?
>
>> Anybody knows why [this failure](https://github.com/fandreuz/jdk/actions/runs/18523317228/job/52788441879#step:9:3189) happened only in linux-x64-hs-minimal? Shouldn't it fail everywhere?
>
> It is because minimal does not include JVMTI.
> A tweak is needed in `jvmtiExport.hpp` at line 383 to follow other functions returning `void`:
> `NOT_JVMTI_RETURN_(false)` => `NOT_JVMTI_RETURN`
Thanks for the review @sspitsyn and @dholmes-ora.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27777#issuecomment-3409720063
More information about the serviceability-dev
mailing list