RFR: 8255415: Nested calls to snap methods in Region give different results [v2]

Jose Pereda jpereda at openjdk.java.net
Tue Oct 27 11:16:19 UTC 2020


On Tue, 27 Oct 2020 10:50:26 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:

>> @kleopatra That's a good question. 
>> 
>> I already saw it, but given it has private/package private access in a public class, simply trying to test it would imply creating a public access to snapPortionXX. 
>> I guess that is out of scope for now?
>
>> 
>> 
>> @kleopatra That's a good question.
>> 
>> I already saw it, but given it has private/package private access in a public class, simply trying to test it would imply creating a public access to snapPortionXX.
>> I guess that is out of scope for now?
> 
> for testing, you can add an accessor to RegionShim (just did and it indeed seems to fail with the same setup as your test).

Ah, indeed, that helps, and I can see the failing tests too. 
I'll extend then this PR to those methods too (which still fall under the JBS title).

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

PR: https://git.openjdk.java.net/jfx/pull/336


More information about the openjfx-dev mailing list