On Fri, 12 Jan 2024 23:46:06 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

> for test execution it does not matter but when opened in ide it conflicts 
> with some other Error classes from the tests.

I feel your pain!

I suggest refactoring those tests and make their private `Error` class a static 
member of the test class itself.

This is why I'm for having only one public class in a test file and no other 
top-level classes — to avoid such naming clashes, which makes it easier to edit 
and run tests from an IDE.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17388#discussion_r1452660551

Reply via email to