RFR: 8369734: JvmtiExport::post_class_file_load_hook return value is never used [v2]

Serguei Spitsyn sspitsyn at openjdk.org
Wed Oct 15 17:39:10 UTC 2025


On Wed, 15 Oct 2025 09:28:40 GMT, Francesco Andreuzzi <fandreuzzi 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?

It is because minimal does not include JVMTI.
A tweak is needed in `jvmtiExport.hpp` at line 383 as for all other functions returning `void`:
  `NOT_JVMTI_RETURN_(false)` => `NOT_JVMTI_RETURN`

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

PR Comment: https://git.openjdk.org/jdk/pull/27777#issuecomment-3407564232


More information about the serviceability-dev mailing list