On Mon, 16 Nov 2026 07:31:29 GMT, Jaikiran Pai <[email protected]> wrote:
> I think it would be very odd to see such a warning message from the JVM, > especially for trivial Java applications (like the one in > java/lang/IO/IO.java test). Plus, it's not actionable either. Would it be > possible to have it be logged only when -Xlog is used (or whatever the > existing HotSpot recommendation is for such logging)? I just now noticed that this warning appears to be pre-existing and not something being introduced in this PR. This PR merely enables it additionally in the presence of the `MSVC_ENABLE_BRANCH_PROTECTION` macro. So ignore my comment about considering `-Xlog` for this. Clearly there's precedent for such warning messages. I just hadn't seen them show up in trivial applications. ------------- PR Comment: https://git.openjdk.org/jdk/pull/33595#issuecomment-6910491514
