[ 
https://issues.apache.org/jira/browse/GROOVY-12382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18113543#comment-18113543
 ] 

ASF GitHub Bot commented on GROOVY-12382:
-----------------------------------------

paulk-asert merged PR #2904:
URL: https://github.com/apache/groovy/pull/2904




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