You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2026/10/20 01:27:01 UTC

[jira] [Closed] (GROOVY-12382) VMPluginFactory: tolerate a runtime without Runtime.version()

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

Paul King closed GROOVY-12382.
------------------------------

> VMPluginFactory: tolerate a runtime without Runtime.version()
> -------------------------------------------------------------
>
>                 Key: GROOVY-12382
>                 URL: https://issues.apache.org/jira/browse/GROOVY-12382
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 6.0.0-RC-2
>
>
> Involves: a featureVersion() helper that tries Runtime.version(), then parses java.specification.version, then assumes the lowest supported release, which is the only plugin left anyway. Ten lines plus a unit test of the parsing. Also worth reusing in CompilerConfiguration.defaultTargetBytecode, which has the same call.
> Impact on normal usage: none. On every JVM the first branch succeeds as before.



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