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

Paul King resolved GROOVY-12382.
--------------------------------
    Fix Version/s: 6.0.0-RC-2
       Resolution: Fixed

> 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)

Reply via email to