RFR: 8242523: Update the animation and clip envelope classes
Kevin Rushforth
kcr at openjdk.java.net
Thu May 28 15:37:33 UTC 2020
On Thu, 28 May 2020 15:16:03 GMT, Nir Lisker <nlisker at openjdk.org> wrote:
>> modules/javafx.graphics/src/main/java/javafx/animation/Animation.java line 332:
>>
>>> 331: }
>>> 332: if (isNearZero(newRate)) {
>>> 333: if (isRunning()) {
>>
>> The code from here to the end of the method used to be in an `else` block of the `if (isRunningEmbedded())` test. It
>> will now be run even if that test is true. Was this intended, and if so, why?
>
> If the test for `isRunningEmbedded()` passes, the method will throw an exception.
Ah, of course.
-------------
PR: https://git.openjdk.java.net/jfx/pull/196
More information about the openjfx-dev
mailing list