RFR: 8341778: Some javac tests ignore the result of JavacTask::call
Johannes Döbler
duke at openjdk.org
Thu Jun 5 15:33:07 UTC 2025
On Thu, 5 Jun 2025 13:38:08 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> It is testing that javac can deal with deeply nested code without throwing SOE.
The current summary `Javac fails with StackOverflowError when compiling deeply nested synchronized blocks` is confusing and I don't know how it relates to your statement. Does it describe a bug or does it state the purpose of the test? Anyway, why not test with nesting levels of 500 and 1000, assert that task.call() returns true (500) and false (1000), but in the later case does not panic and terminate with a SOE.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25645#discussion_r2129132057
More information about the hotspot-gc-dev
mailing list