[
https://issues.apache.org/jira/browse/GROOVY-12382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Paul King updated GROOVY-12382:
-------------------------------
Description:
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.
> 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)