On Wed, 25 Nov 2026 10:57:57 GMT, Serguei Spitsyn <[email protected]> wrote:

> There is something suspicious with the @0 and @1 breakpoints in the 
> `AbstaractValueClass` constructor. They both have to be hit twice for two 
> constructors: once for `ValueSubClass` and once for `NonValueSubClass`. But 
> does the handler disable each request and removes its listener after the 
> first hit?

When a breakpoint is hit, it gets disabled, so it is only hit once. So that 
means the AbstractValueClass breakpoints are only tested when the ValueSubClass 
instance is created. I think that is fine for this test case and testing the 
AbstractValueClass with NonValueSubClass is not necessary.

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

PR Comment: https://git.openjdk.org/jdk/pull/33977#issuecomment-7165753697

Reply via email to