On Thu, 26 Jun 2025 06:04:20 GMT, Alan Bateman <al...@openjdk.org> wrote:

> This seems like a separate discussion as the minimal VM doesn't have the M&M 
> support

Sure, it's maybe off topic.  I now see that few tests handle this.
I hit it as a minimal build showed me I had the wrong THROW macro, so in 
getting that right, I want to build and test such a VM.
This test fails to load ManagementFactory with such a build (expected but 
confusing).  It should skip.

I realise many tests will fail on such a build.  We could use
  @requires vm.flavor != "minimal"
or
 @requires vm.jvmti
or just leave the failure in.  I don't need to commit this test param change 
now.

Relatedly:
I saw the tes timeout in debug builds on win and mac (as expected).
On Linux, fastdebug builds run OK and could be useful.  If further testing 
doesn't find an issue, I can do:

- * @requires !vm.debug & (vm.compMode != "Xcomp")
+ * @requires vm.compMode != "Xcomp"
+ * @requires !vm.debug || (os.family == "linux")

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25958#discussion_r2168933479

Reply via email to