Hi all,
I've encountered this strange error from groovy STC (4.0.26) moving from
JavaFx 23 to JavaFx 24 (and jdk 24)

"...ResizableRegion  cannot be non-sealed as it has no sealed parent"

but my class does not use explicitly a non-sealed keyword
"""
import javafx.scene.layout.Region
...
class ResizableRegion extends Region {...}
"""

this is the hierarchy of the Region class:
javafx.scene.Node *(sealed from jfx24)*
javafx.scene.Parent *(non-sealed from jfx24)*
javafx.scene.layout.Region

I'm a little confused, it seems that groovy applies automatically a wrong
"non-sealed" to my class but I don't know why.

Any idea or possible workarounds?

Thanks in advance,
Mirco

Reply via email to