[ 
https://issues.apache.org/jira/browse/GROOVY-11768?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Milles updated GROOVY-11768:
---------------------------------
    Affects Version/s: 4.0.29

>  java 25: class cannot be non-sealed as it has no sealed parent.
> ----------------------------------------------------------------
>
>                 Key: GROOVY-11768
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11768
>             Project: Groovy
>          Issue Type: Bug
>          Components: Compiler
>    Affects Versions: 4.0.29, 5.0.1
>         Environment: Groovy 5.0.1, Gradle 9.1.0, Java 25
>            Reporter: Per Nyfelt
>            Assignee: Eric Milles
>            Priority: Major
>             Fix For: 5.0.2
>
>
> Using Gradle 9.1.0 with
> options.release = 25 and 
> Groovy 5.0.1 with Java 25 i get the following compilation error:
> > Task :matrix-charts:compileGroovy FAILED
> startup failed:
> /......./matrix/matrix-charts/src/main/groovy/se/alipsa/matrix/charts/charmfx/CharmChartFx.groovy:
>  10: The class 'se.alipsa.matrix.charts.charmfx.CharmChartFx' cannot be 
> non-sealed as it has no sealed parent.
>  @ line 10, column 1.
>    class CharmChartFx extends BorderPane {
>    ^
> 1 error
> The same set up with groovy 5.0.1, Gradle 9.1.0 with options.release = 21 and 
> Java 21 compiles without any problems. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to